cheminfo / cheminfo/fifo-logger

consider using a ring-buffer instead of an array

Open
#26 0 comments 0 reactions 0 assignees View on GitHub
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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.