Fri, 16 Jan 2015 04:50:19 +0100
Replace accessor implementation with direct member state manipulation, by request https://trac.torproject.org/projects/tor/ticket/9701#comment:32
1 if (!getBuildConfiguration().parallelJS)
2 quit(0);
3
4 test([0], "map", function (... Object) {
5 var x = [];
6 for (var i = 0; i < 10; i++) {
7 x[i] = {};
8 }
9 });
10
11 function test(arr, op, func) {
12 for (var i = 0; i < 1000; i++) {
13 arr[op + "Par"].apply(arr, [func, undefined]);
14 }
15 }