This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
puma--puma
Watch
1
Star
0
Fork
You've already forked puma--puma
0
mirror of
https://github.com/puma/puma.git
synced
2022-11-09 13:48:40 -05:00
Code
Releases
Activity
c36491756f
puma--puma
/
lib
/
puma
/
io_buffer.rb
5 lines
80 B
Ruby
Raw
Normal View
History
Unescape
Escape
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
# frozen_string_literal: true
Conditionalize the jruby IOBuffer
2012-08-11 22:14:52 -07:00
require
'puma/detect'
re-implement (native) IOBuffer for JRuby ... to match up JRuby's ext with the C ext
2018-12-20 12:40:15 +01:00
require
'puma/puma_http11'
Copy permalink