On Tue, May 17, 2011 at 13:27,  <stef...@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

Reply via email to