Skip to content

string from blob performance #194

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 1 commit into from
Mar 30, 2025
Merged

string from blob performance #194

merged 1 commit into from
Mar 30, 2025

Conversation

jraymakers
Copy link
Contributor

Benchmarked performance of two implementation of stringFromBlob. Determined that string concatenation is faster for smaller sizes (less than 2^16 bytes), on a MacBook Pro (M2 Max). Changed implementation to select faster path based on this threshold. See #188

@jraymakers jraymakers merged commit 7b92aa5 into main Mar 30, 2025
5 checks passed
@jraymakers jraymakers deleted the jray/string-from-blob-perf branch March 30, 2025 18:09
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