nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
lib: Split collections into readable and writable
[nit.git]
/
tests
/
shootout_nsieve.nit
diff --git
a/tests/shootout_nsieve.nit
b/tests/shootout_nsieve.nit
index
a9a3923
..
0e2542b
100644
(file)
--- a/
tests/shootout_nsieve.nit
+++ b/
tests/shootout_nsieve.nit
@@
-17,7
+17,7
@@
meth nsieve(n: Int): Int
do
var count = 0
- var array = new String.with_capacity(n)
+ var array = new Buffer.with_capacity(n)
for i in [0..n[ do
array[i] = 'o'
end