Skip to content
This repository has been archived by the owner on May 20, 2023. It is now read-only.

use a custom implementation instead of memcpy #18

Merged
merged 1 commit into from
Nov 6, 2022
Merged

Conversation

ealmloff
Copy link
Owner

@ealmloff ealmloff commented Nov 6, 2022

The memcpy generated for wasm is slow: rust-lang/rust#92436
All strings are copied into a single buffer, so memcpy is a very hot function for sledgehammer. This PR implements a custom version that is faster and smaller. This also removes ufmt

@ealmloff ealmloff merged commit f7b2b64 into main Nov 6, 2022
@ealmloff ealmloff deleted the custom_memcpy branch November 6, 2022 18:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant