CufeHaco
CufeHaco
Hey @headius , I've been thinking about this, and your point about the 8 memory accesses. You're right, that's brutal for cache locality, especially in tight loops. I looked at...
I have it bookmarked. My wife goes to work at 4pm EST, so I should have it ready for you before you sign off for the evening. If not, it...
@headius Excellent analysis on the isBuiltin() overhead! The global flag approach makes perfect sense and that 2.26x improvement is impressive. I'd like to propose building on top of your global...
First run on my modified code of your builtin speed up experiment @headius. I haven't updated Jruby on my workstation yet, and im also not running on a beefy setup....
I just dropped the code into a new repo. Give me just a min and I'll post the link. I also started a pure jruby win32 and .net compatible layer...
@headius heres the link https://github.com/CufeHaco/Jruby10-builtin-test The benchmark.rb is ready to go.
OH! My bad, you may need to comment out the wsl benchmark, i dont remember if I added a condition handler to it. I dont think i did. Otherwise its...
I'll start looking in RubyFixnum.java RubyArray.java RubyString.java RubyHash.java RubyObject.java And start searching this evening and see if I can get a punch out list for a debug report.
@headius Just to clarify, the repo at https://github.com/CufeHaco/jrubytest-jruby-jep380-prototype/tree/CufeHaco-JEP-380-full-prototype is already a fork of jruby/jruby with the changes applied to the actual source files (DynamicMethod.java, InterpretedIRMethod.java, etc.). I'm still learning Java...
Same with the jruby10 repo. I write it then hook it into jruby for testing and benchmarks, then I drop a repo (because I know I can do that) for...