utaal / spsc-bip-buffer

A concurrent, spsc ring-buffer with sized reservations
Apache License 2.0
96 stars 14 forks source link

Unnecessary writer's last update #8

Open unrealhoang opened 4 years ago

unrealhoang commented 4 years ago

https://github.com/utaal/spsc-bip-buffer/blob/master/src/lib.rs#L310-L313 How can writer.write ever larger than writer.last, as writer.last is initiated with Buffer's len. Let me know if I miss anything.