Currently every Dict::find(char *) (which are a majority) needs to convert char
* to UGooString, which involves memory allocations.
This patch implements ability to directly find(char *) by adding
UGooString::cmp(char *) that has the same semantics as
Also converting tabs to spaces so that it always has correct indentation
(regardless of your current tab settings) and small refactoring to use
dictLookupBool() and dictLookupInt() for simpler code.
Created attachment 6796 [details] [review]
Speedup as described in the bug
It would be easier to review this patch if you had the cosmetic and functional
changes in separate patches.
Is this patch still valid, given that there is no more UGooString?
UGooString doesn't exist anymore