Simpler restreaming state #9

merged 1 commit into from Jan 13, 2012


None yet

2 participants


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

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