[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r1104160 - /subversion/trunk/subversion/libsvn_subr/utf.c

From: Ivan Zhakov <ivan_at_visualsvn.com>
Date: Tue, 17 May 2011 13:43:20 +0200

On Tue, May 17, 2011 at 13:27, <stefan2_at_apache.org> wrote:
> Author: stefan2
> Date: Tue May 17 11:27:25 2011
> New Revision: 1104160
>
> URL: http://svn.apache.org/viewvc?rev=1104160&view=rev
> Log:
> Speed up UTF8 conversion, especially if APR_HAS_THREADS.
> Provide global
>
> * subversion/libsvn_subr/utf.c
>  (SVN_UTF_NTOU_XLATE_HANDLE, SVN_UTF_UTON_XLATE_HANDLE):
>   make them identifiable by address
>  (xlat_ntou_static_handle, xlat_uton_static_handle):
>   introduce global translation map pointers as 1st level cache
>  (get_xlate_handle_node): match standard xlat types by address;
>   try global map pointers first before falling back to the hash
>  (put_xlate_handle_node): match standard xlat types by address;
>   push old global maps to hash
>
Hi Stefan,

Is there any particular reason why you didn't implemented this
optimization at get_ntou_xlate_handle_node() and
get_uton_xlate_handle_node() layer?

-- 
Ivan Zhakov
Received on 2011-05-17 13:44:13 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.