
26 Aug
2010
26 Aug
'10
3:33 a.m.
Daniel Fischer wrote:
John Lato wrote:
Heinrich Apfelmus wrote:
Do you have an example where you want chunking instead of single character access?
I am unable to think of any examples where you want chunking for any reason other than efficiency.
For many hashing or de/encryption algorithms, chunking is more natural than single-character access.
Even when the chunk lengths are unpredictable? After all, unlike with fread in C, you can't request the next chunk to have a certain length with Iteratees. Regards, Heinrich Apfelmus -- http://apfelmus.nfshost.com