vcs-svn: implement perfect hash for node-prop keys
commit5eb03eb519598a6ef8e6ff363232f303f7fdd66b
authorDavid Barr <david.barr@cordelta.com>
Mon, 13 Dec 2010 08:13:24 +0000 (13 19:13 +1100)
committerJonathan Nieder <jrnieder@gmail.com>
Tue, 22 Mar 2011 23:09:02 +0000 (22 18:09 -0500)
treecb5ed2eee8bb7d54074f22ccd976c0d715734f53
parent91e2dac06fc0663aceaf0b585e1bc10cbcba4f24
vcs-svn: implement perfect hash for node-prop keys

Instead of interning property names and comparing their string_pool
keys, look them up in a table by string length, which should be about
as fast.

This is a small step towards removing dependence on string_pool.

Signed-off-by: David Barr <david.barr@cordelta.com>
Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
svndump.c