UTF8 performance

Nick Wellnhofer wellnhofer at aevum.de
Fri Jan 8 02:58:41 UTC 2010


On 06/01/10 23:12, Nick Wellnhofer wrote:
> Here is a preliminary patch.

Here is bigger patch that makes the following changes:

- Move the function pointers from string_iterator_t to encoding_t
- Remove now unneeded iter_init from encoding_t
- Introduce new STRING_ITER_ macros
- Add iter_regress_and_decode function to encoding_t
- Change the string iterator PMC to actually use the string iterator API
- Change Parrot_str_split to use iterators
- Optimize utf8_set_position to also search backward

Nick
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: string-iter-v2.diff
URL: <http://lists.parrot.org/pipermail/parrot-dev/attachments/20100108/3ea7a59c/attachment-0001.diff>


More information about the parrot-dev mailing list