Skip to content

performance: Speed up piaudio.ClearChan() part 2#181

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

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

Conversation

@elgopher
Copy link
Owner

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

Improve the performance of piebiten's ClearChan() command. Before the change the complexity of command was O(n) in the worst case. Now it is O(logn).
@elgopher elgopher force-pushed the improve-clearchan-performance-part-2 branch from d9dad4a to 8c089f8 Compare August 11, 2025 16:53
@elgopher elgopher merged commit be6a378 into master Aug 11, 2025
1 of 2 checks passed
@elgopher elgopher deleted the improve-clearchan-performance-part-2 branch August 11, 2025 17:04
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