You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Makefile generated by extconf.rb has changed in Ruby 3.0.
Therefore, when using Ruby 3.0, the optimization flags are not set properly and it reduced the performance.
This patch will set optimization flags in compiling properly.
- Here is Ruby 2.7 Makefile result:
```
CXXFLAGS = $(CCDLFLAGS) -g -O2 -std=c++1z -Wno-register $(ARCH_FLAG)
```
- Here is Ruby 3.0 Makefile result:
```
CXXFLAGS = $(CCDLFLAGS) -std=c++1z -Wno-register $(ARCH_FLAG)
```
This PR will fix#20 issue.
0 commit comments