I have need for a LinkedBlockingQueue but what I am passing primitives to it. My data rates for adding to the Queue are about 4ms or 256 data points per sec. The issue that I am having is the data starts to delay immediately on start but over time it seems the JIT makes this more efficient and it ends up real time. I am trying to figure out where I need to decrease the initial delay and one of them is the "newing" up a Float object from autoboxing on each insert in the Queue. Does anyone have a LinkedBlockingQueue using primitives?
Or is there something faster than LinkedBlockingQueue when you aren't sure of the sizes and using primitives?