diff options
author | Eric Wong <e@80x24.org> | 2019-01-02 20:37:38 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-01-02 20:37:38 +0000 |
commit | 44baf906e73c13577186e3135be4356b33b8be43 (patch) | |
tree | ea17d5da3893b176c637927388659b526c44bb8e /lib/dtas/buffer/read_write.rb | |
parent | 8f8140f68ff2daab5feeb134d1f4e77f4329fa0f (diff) | |
download | dtas-44baf906e73c13577186e3135be4356b33b8be43.tar.gz |
Eliminate loading of the io_splice RubyGem to reduce memory overhead. Extra DSOs are wasteful and io_splice is being phased oiut for sleepy_penguin, which encapsulates more Linux-specific functionality anyways. cf. https://udrepper.livejournal.com/8790.html
Diffstat (limited to 'lib/dtas/buffer/read_write.rb')
-rw-r--r-- | lib/dtas/buffer/read_write.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/dtas/buffer/read_write.rb b/lib/dtas/buffer/read_write.rb index 5845309..06947a5 100644 --- a/lib/dtas/buffer/read_write.rb +++ b/lib/dtas/buffer/read_write.rb @@ -7,7 +7,7 @@ require_relative '../pipe' require_relative '../nonblock' # compatibility code for systems lacking "splice" support via the -# "io-splice" RubyGem. Used only by -player +# "sleepy_penguin" 3.5+ RubyGem. Used only by -player module DTAS::Buffer::ReadWrite # :nodoc: MAX_AT_ONCE = 512 # min PIPE_BUF value in POSIX attr_accessor :buffer_size |