diff options
author | Michael Stahl <mstahl@redhat.com> | 2013-10-21 18:54:42 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2013-10-21 20:05:45 +0200 |
commit | ffd0e2911023e684ca1e206d18b45ef5aa6179f9 (patch) | |
tree | 2b6b572cd50f6e072727b8c5c354070ec01d5ba4 /download.lst | |
parent | 493cd5268bb634ff717d8117e33ea7565321667e (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 'download.lst')
0 files changed, 0 insertions, 0 deletions