repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
chore: v4.0.8
[poolifier.git]
/
src
/
circular-array.ts
diff --git
a/src/circular-array.ts
b/src/circular-array.ts
index 9cea08bcdd7f09463a2e7eeab323483b1ee676cc..2347327927d96f46063bb3f17d8e9060173a722c 100644
(file)
--- a/
src/circular-array.ts
+++ b/
src/circular-array.ts
@@
-1,10
+1,11
@@
-// Copyright Jerome Benoit. 2021-202
3
. All Rights Reserved.
+// Copyright Jerome Benoit. 2021-202
4
. All Rights Reserved.
-const DEFAULT_CIRCULAR_ARRAY_SIZE = 1024
+export const DEFAULT_CIRCULAR_ARRAY_SIZE = 385
/**
* Array with a maximum length and shifting items when full.
*
/**
* Array with a maximum length and shifting items when full.
*
+ * @typeParam T - Type of items.
* @internal
*/
export class CircularArray<T> extends Array<T> {
* @internal
*/
export class CircularArray<T> extends Array<T> {