Nate Berkopec
510f39d330
IOBuffer back to Ruby ( #1980 )
2020-02-27 13:50:34 -06:00
kares
6f5017d6b5
re-implement (native) IOBuffer for JRuby
...
... to match up JRuby's ext with the C ext
2018-12-20 12:40:15 +01:00
schneems
88e51fb08e
Freeze all the strings!
...
Reduces runtime allocation by freezing string literals by default.
We could also remove a ton of manual `.freeze` calls, however the ruby supported version is 2.2 and the magic comment only targets 2.3+.
2018-09-17 11:41:14 -05:00
Francesco Rodriguez
1109f9d881
Use Puma#jruby? helper. ( #1159 )
2016-11-23 07:38:10 -07:00
Evan Phoenix
b68f8e53d2
Conditionalize the jruby IOBuffer
2012-08-11 22:14:52 -07:00
Aaron Hamid
9b9b2f8097
updated IOBuffer impl to use native Java ByteArrayOutputStream; added test
2012-08-11 22:03:19 -07:00
Evan Phoenix
48593aeb2b
Add ruby IOBuffer for JRuby
2012-08-11 15:20:38 -07:00