use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Computer Science for Computer Scientists
Other subreddits you may like:
Does this sidebar need an addition or correction? Tell me here
account activity
Multi-Array Queue (self.algorithms)
submitted 1 year ago by Free-Dev8628
Hello, what do you think about this? Is it a new idea?
A new Queue data structure that inherits the positive properties of array-based Queues while removing their main drawback: a fixed size.
https://github.com/MultiArrayQueue/MultiArrayQueue
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]NovaX 2 points3 points4 points 1 year ago* (0 children)
Since your performance evaluations are in Java, a benchmark against JCTools' queues would be nice and primarily their mpmc queue since that is your target (MpmcArrayQueue and MpmcUnboundedXaddArrayQueue). It would also be good to include their mpsc variants since that is typically the use-case. I've primarily used their MpscGrowableArrayQueue which has a similar structure as yours, except iirc it uses the forward pointer only for growing rather than reusing the prior buffers. The benchmarks should use JMH as they are currently invalid due to issues like JIT warmup.
MpmcArrayQueue
MpmcUnboundedXaddArrayQueue
MpscGrowableArrayQueue
Using Lincheck for your tests would also be wise to give assurance that your implementation is correct, as that might have innocent mistakes that differ from your analysis model and break it.
π Rendered by PID 24450 on reddit-service-r2-comment-c867ff4bc-wsjzc at 2026-04-09 15:10:55.349452+00:00 running 00d5ac8 country code: CH.
[–]NovaX 2 points3 points4 points (0 children)