https://github.com/r-unic/better-queue
Simple O(1) queue implementation for Roblox
https://github.com/r-unic/better-queue
constant-time queue rbxts
Last synced: 5 months ago
JSON representation
Simple O(1) queue implementation for Roblox
- Host: GitHub
- URL: https://github.com/r-unic/better-queue
- Owner: R-unic
- Created: 2025-04-11T03:49:05.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2025-04-14T05:31:31.000Z (about 1 year ago)
- Last Synced: 2025-11-23T13:13:01.237Z (8 months ago)
- Topics: constant-time, queue, rbxts
- Language: Luau
- Homepage: http://www.npmjs.com/package/@rbxts/better-queue
- Size: 124 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# @rbxts/better-queue
Simple O(1) queue implementation for Roblox
## Example
```ts
const q = new Queue;
q.enqueue(1);
q.enqueue(2);
q.dequeue();
q.size();
q.isEmpty();
q.toArray();
```