nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge: curl: basic Unix domain socket support
[nit.git]
/
tests
/
bench_string_append.nit
diff --git
a/tests/bench_string_append.nit
b/tests/bench_string_append.nit
index
df00536
..
2fec554
100644
(file)
--- a/
tests/bench_string_append.nit
+++ b/
tests/bench_string_append.nit
@@
-14,9
+14,6
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-#alt1 import standard
-#alt1 import standard::ropes
-
var n = 4
if not args.is_empty then
n = args.first.to_i
var n = 4
if not args.is_empty then
n = args.first.to_i
@@
-26,7
+23,6
@@
var s = "*"
var i = 0
while i < n do
var s2: Buffer = new FlatBuffer.from("Je dis «")
var i = 0
while i < n do
var s2: Buffer = new FlatBuffer.from("Je dis «")
- #alt1 s2 = new RopeBuffer.from("Je dis «")
s2.append(s)
s2.append("» et redis «")
s2.append(s)
s2.append(s)
s2.append("» et redis «")
s2.append(s)