Merge: Optimize usage of the chars of a string
authorJean Privat <jean@pryen.org>
Wed, 13 Aug 2014 20:29:53 +0000 (16:29 -0400)
committerJean Privat <jean@pryen.org>
Wed, 13 Aug 2014 20:29:53 +0000 (16:29 -0400)
* The first commit, on `html_escape`, improves nitdoc execution on RnR by about 10s, or 6%.
* The second commit _theorically_ improves access to the chars of strings. It _worsen_ the execution of nitdoc on RnR by about 9s.

The overall gain on this specific use case is of 1s. Obviously this PR is not to be merged as is!

Pull-Request: #663
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>


Trivial merge