Pavel Rosický
Pavel Rosický
in ruby, zero doesn't evaluate to false
this is a rebased version of https://github.com/mikel/mail/pull/825 benchmark ```ruby require 'mail' require 'benchmark/ips' part = Mail::Part.new.tap do |part| part.content_disposition = 'attachment; filename="test.asc"' part.content_type = 'application/pgp-signature' end Benchmark.ips do |x| x.report('test...
### Environment jruby 9.2.9.0-SNAPSHOT (2.5.7) 2019-10-22 c3171f5 Java HotSpot(TM) 64-Bit Server VM 11.0.2+9-LTS on 11.0.2+9-LTS +jit [linux-x86_64] refs https://github.com/jruby/jruby/pull/5928 I've investigated why is String#unpack1 so slow https://github.com/jruby/jruby/blob/d51c0ca7a3f46691ae27e2c00c2411b8894b0da9/core/src/main/ruby/jruby/kernel/string.rb#L2 using an early...
the size of long on Windows platforms is 32 bits (even with 64 bit binaries). So the assumed sizeof(int64_t) != sizeof(long) isn't true. This leads to the corruption of >...
truffleruby, jruby and windows builds hangs here https://github.com/socketry/io-event/blob/main/lib/io/event/selector/select.rb#L173 could it be intentional because of missing WNOHANG support on these platforms? https://github.com/socketry/io-event/pull/95 I'm not familiar with the code around Fibers :)
#### Why? to test against recent ruby & rails versions #### How? no new runtime requirements or behavioral changes, just tests. ruby 2.5.7 -> 2.6.6 rails 4.2.11.1 -> 6.0 sinatra...