Skip to content

Ideally get_interfaces() should return an Iterator #45

Open

Description

@brainplot

Returning some iterator type instead of the whole Vec directly would allow consumers to have more control over how memory is allocated.

This, however, would be a pretty major breaking change in the public API. If you agree with this change, I can attempt writing a PR.

Activity

  1. shellrow commented on Oct 24, 2023

    @shellrow
    Owner

    Thank you for your proposal, and I appreciate your suggestion regarding memory optimization.
    I agree with the proposed change.
    As part of my roadmap, planning to make changes to the public API up to version 1.0.0, and this memory optimization fits into efforts to enhance the library's functionality and performance.

    If you have any questions or further suggestions, please feel free to let me know.

  2. brainplot commented on Oct 24, 2023

    @brainplot
    ContributorAuthor

    Would you consider PRs or would you rather work on this yourself?

  3. shellrow commented on Oct 24, 2023

    @shellrow
    Owner

    Please feel free to proceed with the PR, and I'll actively review and collaborate on the changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions