Minor unbenchmarked optimization to svnserve: use a hash for commands
commit7962f5d6210a2059b4a0d34412dbc908de213977
authorglasser <glasser@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Sun, 20 Apr 2008 20:23:38 +0000 (20 20:23 +0000)
committerglasser <glasser@612f8ebc-c883-4be0-9ee0-a4e9ef946e3a>
Sun, 20 Apr 2008 20:23:38 +0000 (20 20:23 +0000)
tree26e386b0d2c572da09d2d5b049ab7a6b52b83bfd
parentde6a24618554559e811d581a0201ae645437950b
Minor unbenchmarked optimization to svnserve: use a hash for commands
instead of looping over a list of 28 commands every time.

* subversion/libsvn_ra_svn/marshal.c
  (svn_ra_svn_handle_commands): Put command list into a hash.  Adjust
   some pool usage to match.

git-svn-id: http://svn.collab.net/repos/svn/trunk@30722 612f8ebc-c883-4be0-9ee0-a4e9ef946e3a
subversion/libsvn_ra_svn/marshal.c