firepear / petrel

It's like SQLite, but for networking
MIT License
20 stars 1 forks source link

Change connRead inner loop? #61

Closed firepear closed 8 years ago

firepear commented 8 years ago

connReadRaw has a much simpler reading loop because the loop is infinite and broken only by the value of n. See if connRead's can be simplified as well.

firepear commented 8 years ago

No. connRead is robust and safer than connReadRaw, especially in high volume environments. It shouldn't be changed.