lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


It was thus said that the Great Peter Pimley once stated:
> Could you repeatedly call option 2 (up to newline) but with a timeout
> of zero?  It'll return the partial result, which you can buffer up
> until you get the actual end-of-line.

  Yes, but performance will drop like a whale that suddenly finds itself
popped into existence at 30,000 feet (or a bowl of petunias, take your
pick) with a large amount traffic.  

  -spc (Used systems where code was written like that---it wasn't fun)