Y
Hacker News
new
|
ask
|
show
|
jobs
by
cpr
4022 days ago
Gosh, all that to save one byte? ;-)
2 comments
jhallenworld
4022 days ago
Suppose you have only 4 entries (perhaps very large) in your ring. You might care about this.
link
jonsen
4022 days ago
That byte will be needed elsewhere to make it multitasking safe.
link
codehero
4022 days ago
I'm running it on a system with 512 bytes of RAM and multiple queues...saving 1 byte helps. I do not need extra space for synchronization; I can enable/disable interrupts without extra RAM required.
link