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 7 years ago

firepear commented 7 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 7 years ago

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