On 2011-02-05 11:41:18 -0500, Michel Fortin <[email protected]> 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 [email protected] http://michelf.com/
