Skip to content

Commit 72c3403

Browse files
Speed Up info_locale (lptstr#154)
* Make info_locale blazing fast - Made info_locale speedy - Takes the registy entries at HKCU:Control Panel\International to get region code and language code, and passes them into two very large hash tables to get the accompanying region and language values. - TODO: Make it work when user has more than one language - Maybe: Find a way to circumvent the very large table - 3251 ms -> 12.43 ms - 262x Faster * Make large table even bigger - Should fix any issues with missing languages as this was ripped directly from Microsoft's documentation * Have 3 values per line on table - Makes it easier to scroll through * Not break when more than one language is used - Instead of getting the value of "Languages" of HKCU:Control Panel\International\User Profile, iterates through the multi-key in case multiple languages are configured * Better format tables - Added even spacing between the table's values to make much easier to read * Slight Formatting Change Co-authored-by: Rashil Gandhi <[email protected]> Co-authored-by: Rashil Gandhi <[email protected]>
1 parent 89a4524 commit 72c3403

File tree

1 file changed

+392
-12
lines changed

1 file changed

+392
-12
lines changed

0 commit comments

Comments
 (0)