You are reading a single comment by @Gordon and its replies. Click here to read the full conversation.
  • So you're saying that it gets worse the larger the offset in the ArrayBuffer?

    I think it's due to the implementation of slice on Espruino. It's expecting that it'll run on a normal sparse array, which is a Linked List.

    Because of that it's just iterating to get to the correct start index - even though with an ArrayBuffer it could just go straight there in most cases. I've just filed an issue for this.

About

Avatar for Gordon @Gordon started