Replacing the built-in array with Infiniqueue. Performance penalty for small queues but huge boost for big queues. May be able to improve the perf penalty later.