Optimizing Partial Backtraces in Ruby 3

Optimizations