Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sort when calling add #19

Merged
merged 1 commit into from
Sep 20, 2024
Merged

Conversation

pipiPdesu
Copy link
Contributor

As mentioned in #15 problem1, The buffer doesn't sort until it's full. I manage to fix it by sorting every time something is added.

The buffer is logged upon initialization, enabling the user to observe the initial state.

Copy link
Collaborator

@justinwangx justinwangx left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

great!

@justinwangx justinwangx merged commit 6e839fe into GraySwanAI:main Sep 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants