Skip to content

Commit

Permalink
perf: resize circular array to sensible default
Browse files Browse the repository at this point in the history
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
  • Loading branch information
Jérôme Benoit committed May 20, 2024
1 parent 73a88b8 commit 9b5cf75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/CircularArray.ts
Original file line number Diff line number Diff line change
@@ -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.
Expand Down

0 comments on commit 9b5cf75

Please sign in to comment.