-
Notifications
You must be signed in to change notification settings - Fork 20
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
optimized copyuntil #76
Conversation
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #76 +/- ##
==========================================
+ Coverage 87.32% 87.72% +0.40%
==========================================
Files 5 5
Lines 426 440 +14
==========================================
+ Hits 372 386 +14
Misses 54 54
☔ View full report in Codecov by Sentry. |
For posterity, what benchmark did you use and what were the results? |
Using the benchmark from JuliaLang/julia#48273 (comment) (with PRIOR TO THIS PR:
AFTER THIS PR:
which is a nice improvement but not overwhelming since the fallback method of character-by-character reading of a |
Side note, it doesn't feel like the tests of this package should have to take this long. |
Speeds up
copyuntil
(and hencereaduntil
,readline
, etcetera) in Julia 1.11 (via JuliaLang/julia#48273).(I also verified locally that the new
readlines
tests pass with Juliamaster
, and that the test indeed exercises the newcopyuntil
method.)