Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

HeaderMap::iter could be ExactSizedIterator #809

Copy link
Copy link
@anuraaga

Description

@anuraaga
Issue body actions

I was surprised that iterating over the entries in the HeaderMap doesn't provide an exact size. This is mainly because there is a len() method with the size of the map. I can provide an ExactSizedIterator wrapper but was wondering if it makes sense to implement it here to make it easier to preallocate transformations?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.