From: Jérôme Benoit Date: Mon, 20 May 2024 18:43:02 +0000 (+0200) Subject: perf: resize circular array to sensible default X-Git-Tag: v1.3.4~57 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=9b5cf75581e0338885b8e2ea408ea5a3f391d0ec;p=e-mobility-charging-stations-simulator.git perf: resize circular array to sensible default Signed-off-by: Jérôme Benoit --- diff --git a/src/utils/CircularArray.ts b/src/utils/CircularArray.ts index f84b21aa..8fc7c60d 100644 --- a/src/utils/CircularArray.ts +++ b/src/utils/CircularArray.ts @@ -1,6 +1,6 @@ // Copyright Jerome Benoit. 2021-2024. All Rights Reserved. -export const DEFAULT_CIRCULAR_ARRAY_SIZE = 1024 +export const DEFAULT_CIRCULAR_ARRAY_SIZE = 385 /** * Array with a maximum length and shifting items when full.