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
65df7f06b1
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 12:41:14 -04:00
# frozen_string_literal: true
Conditionalize the jruby IOBuffer
2012-08-12 01:14:52 -04:00
require
'puma/detect'
re-implement (native) IOBuffer for JRuby ... to match up JRuby's ext with the C ext
2018-12-20 06:40:15 -05:00
require
'puma/puma_http11'
Copy permalink