repositories
/
poolifier.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
116a8c8
)
refactor: queue code cleanups
author
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 16 Jun 2023 09:07:26 +0000
(11:07 +0200)
committer
Jérôme Benoit
<jerome.benoit@sap.com>
Fri, 16 Jun 2023 09:07:26 +0000
(11:07 +0200)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
src/queue.ts
patch
|
blob
|
blame
|
history
diff --git
a/src/queue.ts
b/src/queue.ts
index 8b761c8ff82d5ca7c0c0a67b361188d1fda19dc5..7aad6d065ce6338129c70032b266ce5c6bcba600 100644
(file)
--- a/
src/queue.ts
+++ b/
src/queue.ts
@@
-13,9
+13,9
@@
export class Queue<T> {
public constructor () {
this.items = []
+ this.offset = 0
/** The size of the queue. */
this.size = 0
- this.offset = 0
/** The maximum size of the queue. */
this.maxSize = 0
}