Sha256: 87240435b1cb4c86a00f29252471754d24f9ae2778c23ae545cccde65e680f9b

Contents?: true

Size: 251 Bytes

Versions: 4

Compression:

Stored size: 251 Bytes

Contents

#!/usr/bin/env ruby
# -*- encoding: binary -*-
# This example is no longer valid, IO.copy_stream is faster in Ruby 2.2+
# since it uses sendfile directly, which now allows direct file-to-file
# copying (on Linux only) with fewer syscalls than splice.

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
io_splice-4.4.2 examples/splice-cp.rb
io_splice-4.4.1 examples/splice-cp.rb
io_splice-4.4.0 examples/splice-cp.rb
io_splice-4.3.0 examples/splice-cp.rb