Skip to content

Performance on MimeType > Extension #12

Description

@TonyValenti

Hi @hey-red -
We have started using MimeTypesMap and have found Extension->MimeType is O(1) but MimeType->Extension is O(N). This is hurting us in high performance code.

Are you open to a PR that generates dictionaries for both?

Activity

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