Revision 34c331d209c63d3835dfe8a26799eb95769ab326 authored by Manuel Tobias Schiller on 01 August 2016, 11:21:37 UTC, committed by Manuel Tobias Schiller on 04 August 2016, 15:56:55 UTC
This patch introduces a cache for index codes into RooMappedCategory.
The previous implementation had to do a regex match on the different
category labels, leading to slow evaluation. We now keep a cache indexed
by the input category's index code, leading to a significant speedup.

The persistent data format of the class remains unchanged, therefore the
class version number was not changed.

Backports to the various ROOT 6 and ROOT 5 bugfix branches may be in
order.
1 parent 57a5402
History
File Mode Size
Dialogs.C -rw-r--r-- 8.9 KB
fileopen.C -rw-r--r-- 532 bytes

back to top