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_at_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
Received on 2011-06-25 12:54:02 CEST