fastruby / fastruby/fast-ruby

e2mmap benchmark is not working (missing gem) in Ruby 3.0.x

Đang mở
#196 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Ruby
Star
5.7k
Fork
371
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi there,

At the moment this benchmark is not working:

```
➜ fast-ruby git:(master) ✗ ruby -v code/general/raise-vs-e2mmap.rb
ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x86_64-darwin20]
:85:in `require': cannot load such file -- e2mmap (LoadError)
from :85:in `require'
from code/general/raise-vs-e2mmap.rb:2:in `'
```

The solution would be to add this to the Gemfile:

```
gem 'e2mmap'
```

It seems that that benchmark might not be wanted in this project. After all, it is comparing Ruby vs. using the e2mmap gem. See: https://github.com/JuanitoFatas/fast-ruby/issues/95

I'm going to submit a PR removing that scenario, which should fix this issue. 😄

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.