On Mon, 2005-07-25 at 06:29 +1000, skaller wrote: > On Sun, 2005-07-24 at 12:14 -0700, Stephane Glondu wrote: > > On Sunday 24 July 2005 11:48, skaller wrote: > > > > I strongly disagree. Look at source code of buffer.ml: no Obj.magic. > > > > What do you mean by "efficiently"? > > > > > > Buffer only works for characters. > > > > You can make it work for any datatype by using an 'a array option instead > > of a string. > > That fails to be 'efficient'. Would you use > > char array option > > instead of the existing Buffer??? Woops, of course I meant 'char option array' :) -- John Skaller