Merge: Utf8 strings - noindex
authorJean Privat <jean@pryen.org>
Tue, 26 Aug 2014 22:53:45 +0000 (18:53 -0400)
committerJean Privat <jean@pryen.org>
Tue, 26 Aug 2014 22:53:45 +0000 (18:53 -0400)
commit1cae0edbe0aa0a543635f6b7e69a64dbbd46ba81
tree28fd1b72c7702743d11d95a0cf654acdae51c3e0
parent9d4906d5c4132a8bde55f12fe534a03cc57e63bc
parentc10d1db0438e4a55d9bfc674442ef1bce9901674
Merge: Utf8 strings - noindex

Added a few features missing from UTF8 Strings without index.

NOTE : It is slow and space-consuming (lots of allocated characters and no GC), however by experimenting a bit (read : force UnicodeChar as a Universal intern class), the performance is surprisingly close to the old ones and the memory-use becomes acceptable once again :
* < 10% loss for iteration (with iterator, not index, this is much slower) and concat
* substring is slower by a significant margin (75%), however considering the cost of the ancient one (close to none), I guess this is still acceptable.

Pull-Request: #684
Reviewed-by: Jean Privat <jean@pryen.org>