nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
combined
(merge:
3a9bf18
47c883f
)
Merge: Reuse Array Iterators
author
Jean Privat
<jean@pryen.org>
Sat, 7 Mar 2015 05:17:28 +0000
(12:17 +0700)
committer
Jean Privat
<jean@pryen.org>
Sat, 7 Mar 2015 05:17:28 +0000
(12:17 +0700)
on nitc/nitc/nit this reduce a lot the number of allocated iterators.
before:
* 0m7.168s
* 2,706,498 new ArrayIterator
* the second most allocated class (after NativeArray)
after:
* 0m7.060s (-1.5%)
* 785,781 new ArrayIterator (-70%)
* the 7th most allocated class
Pull-Request: #1190
Reviewed-by: Lucas Bajolet <r4pass@hotmail.com>
Reviewed-by: Alexis Laferrière <alexis.laf@xymus.net>
1
2
lib/standard/collection/array.nit
patch
|
diff1
|
diff2
|
blob
|
history
diff --cc
lib/standard/collection/array.nit
Simple merge