Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I can't read the site because it's blocked for me, but isn't a ring-buffer a different class of data-structure than a queue? AIUI, queues are for non-lossy FIFO behavior.


No, ring buffers are just an implementation of a queue. You can implement lossy/lossless ring buffers or linked-list queues.


My $10/mo shared host is already spinning with ycomb+linkedin traffic. I shall upgrade...




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: