vcs-svn: implement perfect hash for top-level keys
commit0b08e165d48a95d9e173b8ff9dd7b6d9aefbb45b
authorDavid Barr <david.barr@cordelta.com>
Mon, 13 Dec 2010 08:56:01 +0000 (13 19:56 +1100)
committerJonathan Nieder <jrnieder@gmail.com>
Tue, 22 Mar 2011 23:09:05 +0000 (22 18:09 -0500)
tree7a4c84e55ed70d7ed6fb43320795c0e2f7507c09
parent5eb03eb519598a6ef8e6ff363232f303f7fdd66b
vcs-svn: implement perfect hash for top-level 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.

Another small step towards removing dependence on string_pool
altogether.

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