Comments (2)
@nuttycom I agree. I'd like to address this after the change to the internal representation of Process
which is currently in progress. We will probably introduce a separate Chunk
type in place of Seq
, and my goal is to make it possible / easy to pass unboxed chunks between stages of a pipeline.
But yeah, this is on hold for now.
from fs2.
Closing. In the new design, there is a separate Chunk
type, which is strict and supports random access. If you want laziness / fusion, you use Stream
.
You can create a Chunk
from a Seq
of course, but if that Seq
is not already IndexedSeq
it will be copied. (The copying is done lazily though, on first random access. If only sequential access is used there's no need to copy.)
It might be interesting to play with different representations of Chunk
that are lazier but we are punting on that for now.
from fs2.
Related Issues (20)
- Add `Channel#sendClose` HOT 1
- sbt doc task fails for scala 3 and fs2-io HOT 2
- Update copyright for 2023 HOT 1
- parEvalMap messes up unmasking of cancellation
- Feature request: Dynamic metering of Streams HOT 3
- Bad performance of fs2.io.file.Files[IO].walk() HOT 4
- Fetching permissions through getPosixFileAttributes always fails with None.get
- Fetched file attributes fail equality check HOT 1
- Optimize `Stream#evalTapChunk`
- Root `Path` is incorrectly handled in ScalaJS HOT 4
- Error using reactive streams toStreamBuffered with newer versions of the AWS SDK HOT 9
- Usage of direct buffers on FS2 Socket causes an unpredictable memory use on http4s with embers backend HOT 5
- failed: fs2.io.net.udp.UdpSuite.udp HOT 1
- reactive-streams interop: handled errors treated as unhandled and printed to the console HOT 1
- Improvements around for the PosixPermissions api HOT 3
- Memory leak when a recursive stream has error handling HOT 5
- DatagramSocket read stalls on JVM HOT 2
- Deprecated Files.walk(start: Path, maxDepth: Int, followLinks: Boolean) ignores maxDepth and followLinks HOT 1
- `Stream` created with `fromIterator` looping infinitely when evaluated in 3.10.x HOT 3
- Introduce higher-level "network client" APIs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fs2.