-
Notifications
You must be signed in to change notification settings - Fork 141
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
Avoid per-byte loop in cstring{,Utf8} builders #569
Open
vdukhovni
wants to merge
9
commits into
haskell:master
Choose a base branch
from
vdukhovni:chunky-cstring-builder
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Oct 9, 2023
-
Avoid per-byte loop in cstring{,Utf8} builders
Copy chunks of the input to the output buffer with 'memcpy', up to the shorter of the available buffer space and the "null-free" portion of the remaining string. For the UTF8 version, encoded NUL bytes are located via strstr(3).
Configuration menu - View commit details
-
Copy full SHA for 7f1aca0 - Browse repository at this point
Copy the full SHA 7f1aca0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 01b5f36 - Browse repository at this point
Copy the full SHA 01b5f36View commit details
Commits on Feb 15, 2024
-
Improve benchmarks for small Builders
* Do not measure the overhead of allocating destination chunks * Add several more benchmarks for P.cstring and P.cstringUtf8
Configuration menu - View commit details
-
Copy full SHA for 3ce0346 - Browse repository at this point
Copy the full SHA 3ce0346View commit details -
Merge branch 'builder-bench-improvements' into chunky-cstring-builder
(This won't work with -fpure-haskell yet.)
Configuration menu - View commit details
-
Copy full SHA for f58840b - Browse repository at this point
Copy the full SHA f58840bView commit details -
Configuration menu - View commit details
-
Copy full SHA for d674964 - Browse repository at this point
Copy the full SHA d674964View commit details -
Configuration menu - View commit details
-
Copy full SHA for b297904 - Browse repository at this point
Copy the full SHA b297904View commit details -
Configuration menu - View commit details
-
Copy full SHA for e1aab36 - Browse repository at this point
Copy the full SHA e1aab36View commit details -
Use Exts.lazy instead of Exts.noinline
The magic noinline id just isn't available with ghc-8.0...
Configuration menu - View commit details
-
Copy full SHA for 2603009 - Browse repository at this point
Copy the full SHA 2603009View commit details -
Configuration menu - View commit details
-
Copy full SHA for cd02c61 - Browse repository at this point
Copy the full SHA cd02c61View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.