benkasminbullock / json-create

https://metacpan.org/release/JSON-Create
1 stars 4 forks source link

Maybe assuming most bytes are not escapes, can just lazy-copy string #18

Closed benkasminbullock closed 5 years ago

benkasminbullock commented 9 years ago

Lazy-copy from "previous escape" to "next escape":

https://github.com/benkasminbullock/json-create/blob/master/json-create-perl.c#L298

Faster?

benkasminbullock commented 5 years ago

This has been done I think.