D6674: use an initializer list instead of calling insert a million times

2017-07-13 Thread Harald Sitter
This revision was automatically updated to reflect the committed changes. Closed by commit R244:30b735056fa2: use an initializer list instead of calling insert a million times (authored by sitter). CHANGED PRIOR TO COMMIT https://phabricator.kde.org/D6674?vs=16635=16638#toc REPOSITORY R244

D6674: use an initializer list instead of calling insert a million times

2017-07-13 Thread Kevin Funk
kfunk accepted this revision. kfunk added inline comments. This revision is now accepted and ready to land. INLINE COMMENTS > kaboutdata.cpp:352 > // Use normalized keywords, by the algorithm below. > -static QHash ldict; > -if

D6674: use an initializer list instead of calling insert a million times

2017-07-13 Thread Harald Sitter
sitter created this revision. Restricted Application added a project: Frameworks. Restricted Application added a subscriber: Frameworks. REVISION SUMMARY looks nicer, is probably also more optimized, and allows us to tag the dict as const. TEST PLAN builds and kaboutdatatest passes