-
-
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
Fix #23567 #23577
Fix #23567 #23577
Conversation
… on isbits(eltype(::Array)) because of Union isbits optimizations because isbits Unions don't return isbits == true.
ccall(:memmove, Ptr{Void}, (Ptr{Void}, Ptr{Void}, UInt), | ||
convert(Ptr{UInt8}, pointer(dest)) + length(dest) * Base.bitsunionsize(T) + doffs - 1, | ||
convert(Ptr{UInt8}, pointer(src)) + length(src) * Base.bitsunionsize(T) + soffs - 1, | ||
n) | ||
else | ||
ccall(:jl_array_ptr_copy, Void, (Any, Ptr{Void}, Any, Ptr{Void}, 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.
Remove the branch from the C function?
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.
Oh, thanks for reminding me; just pushed that.
This looks mostly ok, at least as an improvement over the current issues. Note however, that |
@nanosoldier |
I'm guessing the curl compile error is unrelated 😄 . But on a related node, does nanosoldier build julia from scratch for each benchmark run? That seems intense! (if not excessive!) |
Yeah, Nanosoldier builds from scratch on every run, which is why the runs can take so long. |
No description provided.