perf: resize circular array to sensible default
authorJérôme Benoit <jerome.benoit@sap.com>
Mon, 20 May 2024 18:43:02 +0000 (20:43 +0200)
committerJérôme Benoit <jerome.benoit@sap.com>
Mon, 20 May 2024 18:43:02 +0000 (20:43 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/utils/CircularArray.ts

index f84b21aa3ac9d93a19075b8db1a2f889e05bdfa9..8fc7c60d81d5035eacce514b05ad68903f604119 100644 (file)
@@ -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.