Skip to content
Snippets Groups Projects
Commit fa73beeb authored by Jonas Rembser's avatar Jonas Rembser
Browse files

[RF] Speedup histfactory ParamHistFunc

The ParamHistFunc in the histfactory has a persistent std::map<int,int>
data member. It can be replaced with a std::vector<int> where the
previous key is the index in the vector. This is much faster.

Schema evolution is not a problem here. With this commit, the data
member is made non-persistent because it can be computed from other
persistent data members.
parent 8ae2bc76
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment