Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Review array usage on web target #113

Open
jeremyfa opened this issue Feb 24, 2023 · 0 comments
Open

Review array usage on web target #113

jeremyfa opened this issue Feb 24, 2023 · 0 comments
Assignees

Comments

@jeremyfa
Copy link
Member

Ceramic is pretty well optimised when targeting C++. It also runs fairly well on Web/JS. That said there are several places where arrays are initialized/updated in a way that will create sparse arrays on JS runtimes, which can affect performances if these arrays are used a lot.

Code at those places should be updated so that it sticks internally to contiguous typed arrays which will be better optimised by JS runtimes. Overall it is not a difficult task, just needs some time to review the places that can be improved.

@jeremyfa jeremyfa self-assigned this Feb 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant