On 23 February 2011 05:31, Johan Tibell <[email protected]> wrote:

> Can someone come up with a real world example where O(1) size is important?
>

Tangentially - if you changed the API so the size function was called
'count' rather than 'size' or 'length', there would be no shame what's
so ever in not being O(1).

Problem solved :-)

_______________________________________________
Haskell-Cafe mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/haskell-cafe

Reply via email to