Hi, FcValueListHash is called quite often, so I looked at optimizing it a little. This patch should be safe and gives a 2-5% speedup. Dirk -------------- next part -------------- A non-text attachment was scrubbed... Name: value_hash_speedup.diff Type: text/x-diff Size: 2716 bytes Desc: not available Url : http://lists.freedesktop.org/archives/fontconfig/attachments/20060207/970d819c/value_hash_speedup.bin
Dirk Mueller wrote:> Hi, > > FcValueListHash is called quite often, so I looked at optimizing it a little. > This patch should be safe and gives a 2-5% speedup.Looks safe to me and didn''t break anything on my system; I''ve committed it. pat