Skip to content

Conversation

@SergeyRusskih
Copy link

@SergeyRusskih SergeyRusskih commented Mar 31, 2023

This is the fix for the latency issue when the initialization code is executed once it is loaded into runtime and causes an increase in parsing & execution time regardless of its usage. In particular, Uint8Array buffer initialization either triggers GC sweep or blocks a network thread in older browsers (ArrayBuffers used to be allocated from the network heap).

See: #274

This is the fix for the latency issue when the initialization code is executed once it is loaded into runtime and causes an increase in parsing & execution time regardless of its usage. In particular, Uint8Array buffer initialization either triggers GC sweep or blocks a network thread in older browsers (ArrayBuffers used to be allocated from the network heap).
Adding missing if statement to initialize Uint8Array only once
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant