repositories
/
e-mobility-charging-stations-simulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73a88b8
)
perf: resize circular array to sensible default
author
Jérôme Benoit
<jerome.benoit@sap.com>
Mon, 20 May 2024 18:43:02 +0000
(20:43 +0200)
committer
Jé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
patch
|
blob
|
blame
|
history
diff --git
a/src/utils/CircularArray.ts
b/src/utils/CircularArray.ts
index f84b21aa3ac9d93a19075b8db1a2f889e05bdfa9..8fc7c60d81d5035eacce514b05ad68903f604119 100644
(file)
--- 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.