summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMichael Stahl <mstahl@redhat.com>2013-10-21 18:54:42 +0200
committerMichael Stahl <mstahl@redhat.com>2013-10-21 20:05:45 +0200
commitffd0e2911023e684ca1e206d18b45ef5aa6179f9 (patch)
tree2b6b572cd50f6e072727b8c5c354070ec01d5ba4 /tools
parent493cd5268bb634ff717d8117e33ea7565321667e (diff)
fdo#70465: speed up AccessibleEventNotifier::generateId()
Iterating over all entries of a std::map is rather slow, so add a interval map to manage the free entries. A first attempt to use boost::icl::interval_set for this was abandoned; while the releaseId() function would be just 1 line, GCC 4.8.2 at least is unhappy about boost icl headers for non-obvious reasons: UnpackedTarball/boost/boost/icl/discrete_interval.hpp:45:225: error: default argument for template parameter for class enclosing ‘void boost::icl::boost_concept_check_dummy45(boost_concept_check45*)’ Change-Id: I7b767aefee57df7743dc13a694b6a61abdd536c7
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions