cheminfo / cheminfo/fifo-logger
consider using a ring-buffer instead of an array
Open
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Description
the implementation of the FifoLogger uses an array with push, slice and splice methods.
it seems to me that implementing it with a fixed-sized ring buffer could be more efficient.
Contributor guide
No contributing guide indexed for this repository
Research direction
Locate the FifoLogger implementation and inspect how its array, push, slice, and splice operations define current FIFO behavior. Determine the fixed capacity and benchmark or test the existing behavior before replacing the storage approach; done means equivalent logging behavior with the proposed ring buffer and evidence of an efficiency improvement.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Refactor
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100