#When I add a new value, it appears that it lasts much longer in 'scripting'

10 messages · Page 1 of 1 (latest)

upbeat island
#

I would argue about considering "so much longer" (compared to what?) an interval of 52 ms.
Keep in mind that array is tracked by @for, thus on top of the push you got to account its internal logic.

jagged steppe
upbeat island
#

on 2500?

jagged steppe
upbeat island
#

Doesn't the graph says the toal elapsed time of the whole operation can take from 600 to 2500 ms?

jagged steppe
#

So you are saying that cannot decrease the 'scripting' ms.

upbeat island
#

I say that's doesn't look like the main culprit of the time occured to complete the task.
And in a "highest level environment" like a browser's interpreter it's not easy to strip down a 50ms subtask.