lib/standard: format use `plain_to_s` for fast concat
authorJean Privat <jean@pryen.org>
Sat, 13 Jun 2015 03:39:00 +0000 (23:39 -0400)
committerJean Privat <jean@pryen.org>
Sat, 13 Jun 2015 03:45:22 +0000 (23:45 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

lib/standard/text/abstract_text.nit

index 5f17f39..df1c15f 100644 (file)
@@ -875,7 +875,7 @@ abstract class Text
                        i += 1
                end
                s.push substring(curr_st, length - curr_st)
-               return s.to_s
+               return s.plain_to_s
        end
 
        # Copies `n` bytes from `self` at `src_offset` into `dest` starting at `dest_offset`