subversion-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Shahaf <...@daniel.shahaf.name>
Subject Re: svn commit: r1139502 - /subversion/trunk/subversion/libsvn_subr/svn_base64.c
Date Sat, 25 Jun 2011 10:52:30 GMT
subversion/libsvn_subr/svn_base64.c: In function ‘encode_line’:
subversion/libsvn_subr/svn_base64.c:97: warning: pointer targets in initialization differ
in signedness
subversion/libsvn_subr/svn_base64.c: In function ‘decode_line’:
subversion/libsvn_subr/svn_base64.c:379: warning: pointer targets in passing argument 1 of
‘decode_group_directly’ differ in signedness
subversion/libsvn_subr/svn_base64.c:340: note: expected ‘const unsigned char *’ but argument
is of type ‘const char *’

stefan2@apache.org wrote on Sat, Jun 25, 2011 at 08:12:51 -0000:
> Author: stefan2
> Date: Sat Jun 25 08:12:50 2011
> New Revision: 1139502
> 
> URL: http://svn.apache.org/viewvc?rev=1139502&view=rev
> Log:
> Base64 encoding / decoding accounts for a significant part of the protocol
> handling with NEON. Make that 3 .. 4 times faster.
> 
> * subversion/libsvn_subr/svn_base64.c
>   (BASE64_LINELEN, base64tab): add docstrings
>   (BYTES_PER_LINE): new, derived value
>   (encode_group): fine-tune
>   (decode_group_directly): new function variant
>   (encode_line, decode_line): new functions to process line-sized chunks at once
>   (encode_bytes, decode_bytes): use above functions when possible

Mime
View raw message