buffered input

Michel Fortin michel.fortin at michelf.com
Sat Feb 5 08:43:26 PST 2011


On 2011-02-05 11:41:18 -0500, Michel Fortin <michel.fortin at michelf.com> said:

> If the data you want to parse is all in memory, the buffered range 
> could simply use the original array as its buffer; shiftFront would 
> simply just the whole array to remove the first n elements while 
> appendToFront would do nothing (as the buffer already contains all of 
> the content).

Oops, please change
   "shiftFront would simply just the whole array"
to
   "shiftFront would simply slice the whole array"


-- 
Michel Fortin
michel.fortin at michelf.com
http://michelf.com/



More information about the Digitalmars-d mailing list