-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
improve performance for string range indexing #29796
Conversation
4c9be11
to
ddf5d15
Compare
ddf5d15
to
4652999
Compare
Made some changes, fire off another one @nanosoldier |
return ss | ||
end | ||
|
||
function length(s::String, i::Int, j::Int) | ||
@inline function length(s::String, i::Int, j::Int) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ref #29798
Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan |
Your benchmark job has completed - possible performance regressions were detected. A full report can be found here. cc @ararslan |
I checked the small memory regression in spellcheck and it seems to occur when I am therefore of the opinion that this regression is acceptable and that in other code the benefit of inlining |
Master
PR
Not sure we have any Nanosoldier for this but might as well
Also added some
@inline
where functions expected themselves to get inlined (since they used@boundscheck
).@nanosoldier
runbenchmarks(ALL, vs = ":master")