Simpler restreaming state #9

Merged
merged 1 commit into from Jan 13, 2012

Projects

None yet

2 participants

@jaspervdj

By using a simpler state value (only the constructor needs to be checked for restreaming), I get:

  • a 37% speedup for restreamUtf8;
  • a 21% speedup for restreamUtf16LE;
  • a 9% speedup for restreamUtf16BE;
  • no speedup nor regression for restreamUtf32LE;
  • a 12% speedup for restreamUtf32BE.
@bos bos merged commit 730a33f into bos:master Jan 13, 2012
@bos
Owner

Thanks, Jasper! Sorry it took me a while to follow up on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment