diff options
author | Florent Rougon <f.rougon@free.fr> | 2017-06-05 10:58:41 +0200 |
---|---|---|
committer | Akira TAGOH <akira@tagoh.org> | 2017-06-07 11:17:15 +0900 |
commit | c37eeb8f1ff2cb8655a27545ca32cc50ab70e8d6 (patch) | |
tree | 69dadff906d4ffd15cd630bbd7b200d31f7115f1 /fc-lang | |
parent | 28139816d62b8444ca61a000a87c71e59fef104d (diff) |
FcCharSetHash(): use the 'numbers' values to compute the hash
Before this commit, FcCharSetHash() repeatedly used the address of the
'numbers' array of an FcCharSet to compute the FcCharSet hash, instead
of the value of each array element. This is not good for even spreading
of the FcCharSet objects among the various buckets of the hash table
(and should thus reduce performance). This bug appears to have been
mistakenly introduced in commit
cd2ec1a940888ebcbd323a8000d2fcced41ddf9e (June 2005).
Diffstat (limited to 'fc-lang')
0 files changed, 0 insertions, 0 deletions