caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list] Different types of streams
@ 2001-08-26 18:23 Nicolas George
  2001-08-27  9:49 ` Daniel de Rauglaudre
  0 siblings, 1 reply; 22+ messages in thread
From: Nicolas George @ 2001-08-26 18:23 UTC (permalink / raw)
  To: caml-list

Is there any deep reason to have two incompatible types of streams in the
same Caml type: those built using [< >] expressions and those built with
Stream.from Stream.of_channel? I can not see anything in the source code,
and I indeed managed to modify it to remove this distinction. It has a
small cost: I had to add an `index' field in the gen structure, because the
global `count' field could not be used anymore, and of_stream streams are
slower by about 5%. But I think the stream type would be really more useful
like that.
-------------------
Bug reports: http://caml.inria.fr/bin/caml-bugs  FAQ: http://caml.inria.fr/FAQ/
To unsubscribe, mail caml-list-request@inria.fr  Archives: http://caml.inria.fr


^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2001-09-06  9:45 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-26 18:23 [Caml-list] Different types of streams Nicolas George
2001-08-27  9:49 ` Daniel de Rauglaudre
2001-08-27 17:47   ` Nicolas George
2001-08-28  8:20     ` Daniel de Rauglaudre
2001-08-28  9:33       ` Nicolas George
2001-08-29  8:39         ` Daniel de Rauglaudre
2001-09-05  1:03   ` Christian RINDERKNECHT
2001-09-05  7:34     ` Daniel de Rauglaudre
2001-09-05  8:02       ` STARYNKEVITCH Basile
2001-09-05  9:10         ` Daniel de Rauglaudre
2001-09-05  9:13         ` Alex Cowie
2001-09-05  9:30           ` Daniel de Rauglaudre
2001-09-05 10:58             ` Dave Mason
2001-09-05 12:06               ` Daniel de Rauglaudre
2001-09-05 12:56                 ` Dave Mason
2001-09-05 14:01                   ` Daniel de Rauglaudre
2001-09-05 13:29                 ` Nicolas George
2001-09-05 14:30                 ` Patrick M Doane
2001-09-05 14:44                   ` Daniel de Rauglaudre
2001-09-05 14:55                     ` Patrick M Doane
2001-09-05 19:39                     ` Brian Rogoff
2001-09-05 14:49                   ` [Caml-list] Camlp4 and CamlIDL in main distribution? Markus Mottl

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).