diff options
Diffstat (limited to 'tests/benchmarks/script/qscriptclass_bytearray/tests/set-element.js')
-rw-r--r-- | tests/benchmarks/script/qscriptclass_bytearray/tests/set-element.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/benchmarks/script/qscriptclass_bytearray/tests/set-element.js b/tests/benchmarks/script/qscriptclass_bytearray/tests/set-element.js new file mode 100644 index 0000000..4883765 --- /dev/null +++ b/tests/benchmarks/script/qscriptclass_bytearray/tests/set-element.js @@ -0,0 +1,3 @@ +ba = new ByteArray(123); +for (i = 0; i < 10000; ++i) + ba[10] = 123; |