xbmc/xbmc — pull request #1252 by Karlson2k (2012-08-06 18:16:43+00:00)
Title: Gui settings optimizations

When XBMC has several skins, than it has a thousandths of settings.
With more settings std::map (used for settings storage) becomes slower and slower.
I replaced it with unsorted_map which uses hash and almost not depend on number of settings.
And I removed ".ToLower()" from settings search as it can take up to 75% CPU time when searching for setting.

GUISettings is used very frequently, so it's important to have fast retrieval of setting.