Skip to content

performance: Speed up piaudio.ClearChan()#180

Merged
elgopher merged 1 commit intomasterfrom
improve-clearchan-performance
Aug 11, 2025
Merged

performance: Speed up piaudio.ClearChan()#180
elgopher merged 1 commit intomasterfrom
improve-clearchan-performance

Conversation

@elgopher
Copy link
Owner

Improve the performance of piebiten's ClearChan() command. Before the change the complexity of command was O(n^2) in the worst case. Now it is O(n).

Improve the performance of piebiten's ClearChan() command. Before the change the complexity of command was O(n^2) in the worst case. Now it is O(n).
@elgopher elgopher merged commit 4f82907 into master Aug 11, 2025
1 check passed
@elgopher elgopher deleted the improve-clearchan-performance branch August 11, 2025 16:39
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.

1 participant