I got quite a lot of free time lately, so I figured I'd use it to blog a bit. Hopefully it's worth the effort?
Here's the first one, about some of the optimizations I and others made to ruby/json recently: https://byroot.github.io/ruby/json/2024/12/15/optimizing-ruby-json-part-1.html
Here's the first one, about some of the optimizations I and others made to ruby/json recently: https://byroot.github.io/ruby/json/2024/12/15/optimizing-ruby-json-part-1.html
Comments
This is the way.
That said I’d rather have a core gem that’s just as fast and use that instead!
Also most people don't have any reporting on SEGV, so it could happen occasionally and not be noticed.
And for code that handle user input, it's a bit scary.
Meanwhile in the US they were telling us Ketchup was a vegetable 🙃
…Ruby helpfully exposes a macro to support most compilers with the same syntax: RB_LIKELY and RB_UNLIKELY.”
Oh my gosh THANK YOU. I have wondered many times what the heck those LIKELY and UNLIKELY calls are