Merge: Ropes
authorJean Privat <jean@pryen.org>
Thu, 6 Nov 2014 23:00:22 +0000 (18:00 -0500)
committerJean Privat <jean@pryen.org>
Thu, 6 Nov 2014 23:00:22 +0000 (18:00 -0500)
commitaea15a1b2f4be6025e98aa9cc2d6c5cf595e4216
tree182f9e19cabd9e5d93cc34a62fd33f7705812bb6
parent8f228949dfb029bb184ad214a4c45092da4d525c
parent2f871bdcadefe6307b5c6cf07a19323b7cca6f4d
Merge: Ropes

Here they are, after a few months hiding in the fiery depths of the dumpsterâ„¢, they return, once more.

The Ropes are back, and they're looking for trouble.

On a more serious note, they look a lot more performing than before, thanks to a wrapper-less structure.

The code is also simpler to read and understand (and there's lots more of documentation, I figured @Morriar would like that).

Finally, you can use Strings in a transparent way, never to create Ropes on your own, now the library does it for you.

Furthermore, `RopeBuffer` pridefully returns with the promises of crushing the `FlatBuffer` when concatenating stuff and resisting a bit more to longer strings.
(NDLR: Single-character modifications will be slow.)

Pull-Request: #829
Reviewed-by: Jean Privat <jean@pryen.org>
Reviewed-by: Alexandre Terrasa <alexandre@moz-code.org>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
lib/standard/string.nit
src/doc/doc_pages.nit