--- /dev/null
+# This file is part of NIT ( http://www.nitlanguage.org ).
+#
+# This file is free software, which comes along with NIT. This software is
+# distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY;
+# without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
+# PARTICULAR PURPOSE. You can modify it if you want, provided this header
+# is kept unaltered, and a notification of the changes is added.
+# You are allowed to redistribute it and sell it, alone or as a part of
+# another product.
+
+# Introduces ropes with buffered leaves
+module bufferized_ropes
+
+import standard
+intrude import standard::ropes
+
+# Leaf containing a FlatBuffer to optimize concatenation operations
+private class BufferLeaf
+ super Leaf
+
+ init(val: FlatBuffer) do
+ self.str = val
+ length = str.length
+ end
+
+end
+
+