[m-rev.] for review: add uint->uintN conversions
Zoltan Somogyi
zoltan.somogyi at runbox.com
Tue Jul 6 11:14:05 AEST 2021
2021-07-01 00:16 GMT+10:00 "Julien Fischer" <jfischer at opturion.com>:
> That said, I wonder if there would be much benefit in lifting the
> test into base_string_to_int and adding unsafe_base_digit_to_int/3
> (i.e. do the test once per string, rather than once per character)?
The attached diff implements this. For review by Julien.
I have not attempted to measure any speedup, since my laptop
cannot reliably do so.
Zoltan.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Log.base
Type: application/octet-stream
Size: 464 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210706/fce14fce/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: DIFF.base
Type: application/octet-stream
Size: 4699 bytes
Desc: not available
URL: <http://lists.mercurylang.org/archives/reviews/attachments/20210706/fce14fce/attachment-0001.obj>
More information about the reviews
mailing list