
3 Jul
2010
3 Jul
'10
1:33 a.m.
On 7/2/10 9:13 PM, Brandon S Allbery KF8NH wrote:
If you read the example code I posted, the point was how to turn the current monolithic hash function into a cumulative one by using Writer. As such, there's no opaque hash state inside the Writer. (see `hash . runWriter').
You can do that, but the price that you pay is that you are keeping all of the chunks around until the very end, rather than digesting each one into context as it comes in and then throwing it away. Cheers, Greg