Anyone know the fastest way, in JS, of creating a dense Array of N size?
@slightlylate is null ok if the ultimate type is not "very fast"? Something else to indicate " any"?
-
-
@wycats@slightlylate if is going to contain only numbers, use a typed arrayThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats@slightlylate V8: new Array(n) creates a dense array. If only ints or doubles or both in array, type is special, otherwise it's anyThanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats ... If you're talking about fine tuning, which as a framework developer, I assume you are.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats it seems like this is a question for someone closer to the browser/v8 array impl.@official_iojs or@ChromiumDev maybe?Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
@wycats : do not mix types.Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.