aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/preamble.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/preamble.js b/src/preamble.js
index 25a0b774..f0f6745b 100644
--- a/src/preamble.js
+++ b/src/preamble.js
@@ -346,6 +346,7 @@ function __formatString() {
function Array_copy(ptr, num) {
#if USE_TYPED_ARRAYS
return Array.prototype.slice.call(IHEAP.slice(ptr, ptr+num)); // Make a normal array out of the typed one
+ // Consider making a typed array here, for speed?
#else
return IHEAP.slice(ptr, ptr+num);
#endif