Improve fifo allocator performance