Skip to content

lib: reduce memory allocation for arrays

Rodrigo Muino Tomonari requested to merge github/fork/falsandtru/fixed-queue into main

The current implementation disposes used empty arrays and creates a new array. This PR reuses used empty arrays instead of creating a new array. This patch would reduce memory allocation time for Array(2048).

Merge request reports

Loading