Comments (6)
But how would it decide how big the blobs should be?
from problem-solving.
Whatever IO::Handle.READ
returns :-)
from problem-solving.
Whatever IO::Handle.READ returns :-)
Does that use read(2)
or fread(3)
semantics? I have a memory of it doing the latter, which would be unusable; I may be mistaken.
Basically, does it retry when getting less than $wanted
bytes or not. It truly shouldn't.
from problem-solving.
nqp::readfh($!PIO,nqp::create(buf8.^pun),$bytes)
I'm not sure about the semantics, but probably with retry. Not sure what the backends provide.
from problem-solving.
FWIW, I think an iterator should use READ
semantics.
OTOH, a supply
based on asyncreadbytes
would be the truly lazy approach.
from problem-solving.
Basically, does it retry when getting less than $wanted bytes or not. It truly shouldn't.
This is another example of such an issue.
from problem-solving.
Related Issues (20)
- TAP refers to Perl 6 HOT 2
- LEAVE phaser with return HOT 46
- Metamodel concurrency problems HOT 17
- Named arguments don't respect canonical `key => value` convention (specific example of `mm-dd-yyyy` routine) HOT 15
- `when` doesn't support smartmatching against a pointy block HOT 8
- Code highlighting / inspection / IDE tooling HOT 6
- Using multiple named arguments gives different result than just supplying value alone; specific example of `splice`. HOT 22
- Will we ever need more than 64K unique strings at compile time? HOT 4
- Add "short-index" version of often occurring ops HOT 1
- Behavior of type-constrained parameters is surprising given other behavior HOT 65
- Add `nomark` for striping accents, `samemark` is counterintuitive and slow for that purpose. HOT 3
- Root(s) - missing prefix operators HOT 1
- Enabling `no strict` for `raku` one-liners (and perhaps REPL) HOT 8
- Should `.flatmap` be really DEPRECATED or not? HOT 5
- Feature Request - method ```.hammer``` HOT 19
- Hash slices should have an option to return a hash HOT 17
- Feature Request: recognize "doubled" Unicode characters in Raku ternary operator (question mark and exclamation point). HOT 6
- DivideByZero exception has conflicting attributes HOT 5
- X::Numeric::CannotConvert vs. X::Numeric::Real
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 problem-solving.