Description
Adds RSpec helpers for checking memory allocations in Ruby tests. It is useful when performance-sensitive code needs guardrails against excessive allocations or regressions.
Memory checks can vary by Ruby version and environment. Compare under stable conditions and avoid treating tiny allocation differences as user-visible regressions without evidence.