DescriptionClean up the GrTHashTable API.
removeAt() and slowFindIndex() were only used by GrFontCache, and didn't really need to exist: they can be replaced by a simple remove() call. This new code should actually be faster; slowFindIndex() was O(N), and this should be O(lg N).
BUG=
Committed: http://code.google.com/p/skia/source/detail?r=11973
Patch Set 1 #Patch Set 2 : add comment back #
Total comments: 2
Patch Set 3 : remove ctor #Patch Set 4 : boo, default template arguments on a function are C++11... #
Messages
Total messages: 8 (0 generated)
|