Sha256: 51aac691d135bc0fe7d7dd3fdf81b4ba993e9aefc739f0541f1173788763ab12
Contents?: true
Size: 646 Bytes
Versions: 1
Compression:
Stored size: 646 Bytes
Contents
# It verifies that optimization for Partial Functions with two guards actually works. > bundle exec rake perf:fear:guard:and2_vs_and ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23] Warming up -------------------------------------- and2 807.325B i/100ms Guard#and 692.737B i/100ms Calculating ------------------------------------- and2 6.011Q (± 2.4%) i/s - 29.972Q in 4.989608s Guard#and 4.443Q (± 2.1%) i/s - 22.168Q in 4.991463s Comparison: and2: 6011198087717350.0 i/s Guard#and: 4443444774459918.5 i/s - 1.35x slower
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fear-3.0.0 | benchmarks/fear_gaurd_and2_vs_and.txt |