Make classRegistry use hashes instead of strings as keys for faster lookup

Up version to 0.7.16
This commit is contained in:
Evgeny Zuev 2018-08-28 14:05:33 +07:00 • committed by Ruslan Mustakov
commit ceaf66a34c
9 changed files with 101 additions and 23 deletions

View file

@ -1374,7 +1374,8 @@ type
stringNewWithWideString: pointer
stringOperatorIndex: pointer
stringOperatorIndexConst: pointer
stringWideStr: pointer
stringWideStr: proc (self: GodotString): ptr cwchar_t
{.noconv, raises: [], gcsafe, tags: [], locks: 0.}
stringOperatorEqual: proc (self, other: GodotString): bool
{.noconv, raises: [], gcsafe, tags: [], locks: 0.}
stringOperatorLess: proc (self, other: GodotString): bool
@ -2811,6 +2812,8 @@ type
{.noconv, raises: [], gcsafe, tags: [], locks: 0.}
stringNewCopy*: proc (dest: var GodotString, src: GodotString)
{.noconv, raises: [], gcsafe, tags: [], locks: 0.}
stringWideStr*: proc (self: GodotString): ptr cwchar_t
{.noconv, raises: [], gcsafe, tags: [], locks: 0.}
stringOperatorEqual*: proc (self, other: GodotString): bool
{.noconv, raises: [], gcsafe, tags: [], locks: 0.}
stringOperatorLess*: proc (self, other: GodotString): bool
@ -3481,6 +3484,7 @@ proc setGDNativeAPIInternal(apiStruct: pointer, initOptions: ptr GDNativeInitOpt
stringNew
stringNewCopy
stringWideStr
stringOperatorEqual
stringOperatorLess
stringOperatorPlus