On 2013/02/25 16:47:19, bsalomon wrote: > On 2013/02/25 16:46:29, sugoi wrote: > > D'oh!! Nice ...
11 years, 9 months ago
(2013-02-25 19:38:04 UTC)
#3
On 2013/02/25 16:47:19, bsalomon wrote:
> On 2013/02/25 16:46:29, sugoi wrote:
>
> D'oh!! Nice find. LGTM.
I get why this was not causing any tests to fail: if hashes are identical, we
move on to a full object compare as a safeguard against hash collisions.
I bet this fix will result in a measurable performance improvement due to all
the unnecessary memcmp.
Thinking out loud: When we add optimization strategies (like hashes), it would
be a good idea to also add unit tests that verify that the optimizations
actually kick-in for the cases where we expect it to.
Issue 7378065: Fixed the hash key comparison function.
(Closed)
Created 11 years, 9 months ago by sugoi
Modified 11 years, 9 months ago
Reviewers: bsalomon, junov1
Base URL: http://skia.googlecode.com/svn/trunk/
Comments: 0