Confused about the purpose of IOVec

21 views
Skip to first unread message

Rudi Grinberg

unread,
Nov 23, 2014, 1:18:09 AM11/23/14
to ocaml...@googlegroups.com
It seems like the substring functor and its instantiations make IOVec redundant. OK, IOVec might have a couple of polymorphic operations like drop but it doesn’t seem enough to justify its existence. An example or two of when I’d prefer an IOVec over a bigsubstring/substring would be very helpful.

On a related note, is there a good example showing how to use Iobuf and why it’s useful? The docs are good but it’s complex enough that I need to see it in action.


Thanks,

Rudi.

Reply all
Reply to author
Forward
0 new messages