nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
74a00f9
)
lib/standard: StringWriter use `plain_to_s` for fast concat
author
Jean Privat
<jean@pryen.org>
Sun, 31 May 2015 02:50:06 +0000
(22:50 -0400)
committer
Jean Privat
<jean@pryen.org>
Sat, 13 Jun 2015 00:16:45 +0000
(20:16 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>
lib/standard/stream.nit
patch
|
blob
|
history
diff --git
a/lib/standard/stream.nit
b/lib/standard/stream.nit
index
ad31a7d
..
ecda97e
100644
(file)
--- a/
lib/standard/stream.nit
+++ b/
lib/standard/stream.nit
@@
-600,7
+600,7
@@
class StringWriter
super Writer
private var content = new Array[String]
- redef fun to_s do return content.to_s
+ redef fun to_s do return content.plain_to_s
redef fun is_writable do return not closed
redef fun write_bytes(b) do