Skip to content
  • Florent Rougon's avatar
    FcCharSetHash(): use the 'numbers' values to compute the hash · c37eeb8f
    Florent Rougon authored and Akira TAGOH's avatar Akira TAGOH committed
    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
    cd2ec1a9 (June 2005).
    c37eeb8f