Merge: String block optimisations
authorJean Privat <jean@pryen.org>
Tue, 29 Dec 2015 14:12:34 +0000 (09:12 -0500)
committerJean Privat <jean@pryen.org>
Tue, 29 Dec 2015 14:12:34 +0000 (09:12 -0500)
commit56813089cd87cc9647aad42624991549f30e510b
treeb5fdcddc753955dce81dce2e73d2350dae111b0f
parentdf6b210928a89320953a1bdf83ea21c99a664975
parent68c9eb2e1ed39d43d52219f29c1a24ca45b634b9
Merge: String block optimisations

This stack of commits is a batch of brand-new optimisations on `String`, especially regarding the manipulation of UTF-8 characters.

As a baseline, last Tuesday @privat tried the JSON parser on a 30MiB json file, the execution took approximately 10 seconds for ~38 GIr with Valgrind, now and with his Nitcc upgrades, the total runtime is less than 2 seconds for ~11 GIr with Valgrind.

Pull-Request: #1885
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>