4 ms·
Thanks for the reply! I'm sorry for coming off as too harsh. > Yeah, sometimes, the compiler may compile a 64-bit memory access into two instructions, such as
by nightpool 1y ago
Thanks for the reply! I'm sorry for coming off as too harsh.
> Yeah, sometimes, the compiler may compile a 64-bit memory access into two instructions, such as Rust, but it's not Ruby. It should be fine not consider this.
This sounds like it probably depends on the compiler or toolchain used. So Ruby compiled with LLVM would have issues with this approach, but Ruby compiled with GCC might not. Also it would be interesting to see whether yjit would affect this—it has hand-tuned assembly for 64-bit memory access.