/[Apache-SVN]
ViewVC logotype

Revision 1483292


Jump to revision: Previous Next
Author: stefan2
Date: Thu May 16 10:19:18 2013 UTC (11 years, 6 months ago)
Changed paths: 3
Log Message:
Daring another no-no: provide our own, optimized implementation
of a string to unsigned int conversion.  Use it to simplify & speed up
svn_revnum_parse.

Background: In my 'svn log -g' tests, I found that >50% of the runtime
is spent parsing mergeinfo and ~20% in strtol alone.

* subversion/include/private/svn_string_private.h
  (svn__strtoff): declare new private API

* subversion/libsvn_subr/string.c
  (svn__strtoff): implement it

* subversion/libsvn_subr/types.c
  (svn_revnum_parse): use it


Changed paths

Path Details
Directorysubversion/trunk/subversion/include/private/svn_string_private.h modified , text changed
Directorysubversion/trunk/subversion/libsvn_subr/string.c modified , text changed
Directorysubversion/trunk/subversion/libsvn_subr/types.c modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26