Skip to content

Conversation

maggie44
Copy link
Contributor

@maggie44 maggie44 commented Nov 16, 2024

Changes:

  1. Two new functions:
ListHostmapHostsIter
ListHostmapIndexesIter

Provides the same functionality as listHostMapHosts and listHostMapIndexes but provides an iter (https://pkg.go.dev/iter) that can be looped over instead of making the entire ControlHostInfo slice before returning. It provides a more efficient means of accessing the hostmap.

@maggie44 maggie44 marked this pull request as draft November 16, 2024 12:39
@maggie44 maggie44 marked this pull request as ready for review March 6, 2025 18:00
@maggie44 maggie44 force-pushed the iter branch 2 times, most recently from 3b21b8e to dd75405 Compare March 7, 2025 20:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant