commit | 96a3f6879c13577cc9edd867b3f89b0cba469073 | [log] [tgz] |
---|---|---|
author | Akira TAGOH <akira@tagoh.org> | Thu Mar 05 17:52:04 2015 +0900 |
committer | Akira TAGOH <akira@tagoh.org> | Thu Mar 05 17:52:04 2015 +0900 |
tree | f57c811adeb34c63924ff9dfcc349fd03dbb8101 | |
parent | d997d7c770cd6a36159090fd0b8720a3dc426707 [diff] |
Improve the performance on searching blanks After the change of d6a5cc665a1d7e91332944353e92c83ad114368c we have a lot of code points in FcBlanks. doing the linear search on the array isn't comfortable anymore. So re-implementing FcBlanksIsMember() to use the binary search. Figuring out how much improved after this change depends on how many fonts proceed with fc-cache say though, it's about 20 times faster here on testing. which sounds good enough for improvement.