digital-fabric / polyphony

Fine-grained concurrency for Ruby
https://www.rubydoc.info/gems/polyphony
MIT License
655 stars 17 forks source link

Simplify splice APIs #87

Closed noteflakes closed 2 years ago

noteflakes commented 2 years ago

Instead of having two separate methods, splice and splice_to_eof, change to having just splice(src, dest, len) where if len is -1, splices to EOF.