speed: misc changes to the top comment
This commit is contained in:
parent
6a85898d13
commit
0d389c066a
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
(function(){
|
(function(){
|
||||||
// Conclusion: slice is a little faster except on Chrome
|
// Conclusions:
|
||||||
// clone() is slower on FF & IE but takes 50% on Safari & Chrome
|
// slice() is a little faster than concat() except on Chrome
|
||||||
|
// This clone() is slower on FF & IE but takes 50% on Safari & Chrome
|
||||||
|
|
||||||
var SIZE = 1e4,
|
var SIZE = 1e4,
|
||||||
LOOPS = 500;
|
LOOPS = 500;
|
||||||
|
|
Loading…
Reference in a new issue