Skip to content

Conversation

@iphydf
Copy link
Member

@iphydf iphydf commented Nov 2, 2025

Replaces the recursive implementation of add_to_closest in with an equivalent iterative loop. This eliminates the risk of stack overflow during deep peer eviction chains.


This change is Reviewable

@iphydf iphydf added this to the v0.2.22 milestone Nov 2, 2025
@github-actions github-actions bot added the performance A code change that improves performance label Nov 2, 2025
@iphydf iphydf force-pushed the nonrec-add_to_closest branch from 7119af9 to e0eb205 Compare November 3, 2025 00:16
Replaces the recursive implementation of add_to_closest in with an
equivalent iterative loop. This eliminates the risk of stack overflow
during deep peer eviction chains.
@iphydf iphydf force-pushed the nonrec-add_to_closest branch from e0eb205 to 8e9a354 Compare November 3, 2025 00:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

performance A code change that improves performance

Development

Successfully merging this pull request may close these issues.

1 participant