[Haskell-cafe] Queue which tracks actual in-memory element size?
spam at scientician.net
Wed Mar 29 05:39:11 UTC 2017
So we have the TBQueue which tracks the number of elements, but does
anyone know if there's an equivalent queue which the actual combined
size of the elements? (I'd be quite happy if it used "gsize" or similar,
but I suppose the ideal would be if I could supply a "size estimator"
It seems like an obvious generalization of TBQueue, but my Google-fu
is letting me down at the moment.
 TBQueue would be the equivalent of estimating every element to have
More information about the Haskell-Cafe