Skip to content

speed #30

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

Merged
merged 3 commits into from
May 12, 2025
Merged

speed #30

merged 3 commits into from
May 12, 2025

Conversation

tdrz
Copy link
Collaborator

@tdrz tdrz commented May 8, 2025

Remove unnecessary memory copy when not REPL.

@tdrz tdrz requested review from pmp-p and samwillis May 12, 2025 07:12
@pmp-p
Copy link
Collaborator

pmp-p commented May 12, 2025

i think a memcpy is missing somewhere.

but it could be way more performant to directly move pointer of inBuf to addr 1 and block the automatic pg free()

the reason a loop was used is that it does not pull in browser wasm extension, memcpy is hard to link beetween main and side module that don't use same flags.

@pmp-p pmp-p merged commit c45636b into REL_17_4_WASM-pglite May 12, 2025
@pmp-p pmp-p deleted the tdrz/speedImprovements branch May 12, 2025 09:41
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.

2 participants