Sha256: 47346bf0c6d851f81254ebb7b0f6b8459fc4ce715110d77f5b4301b3a50e54ff
Contents?: true
Size: 652 Bytes
Versions: 1
Compression:
Stored size: 652 Bytes
Contents
# It verifies that optimization for Partial Functions with three guards actually works. > bundle exec rake perf:fear:guard:and3_vs_and_and ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23] Warming up -------------------------------------- Guard.and3 580.401B i/100ms Guard#and 350.896B i/100ms Calculating ------------------------------------- Guard.and3 3.152Q (± 1.3%) i/s - 15.736Q in 4.993183s Guard#and 1.132Q (± 1.7%) i/s - 5.653Q in 4.996181s Comparison: Guard.and3: 3152131160662449.0 i/s Guard#and: 1131877273526757.5 i/s - 2.78x slower
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fear-3.0.0 | benchmarks/fear_gaurd_and3_vs_and_and.txt |