Skip to content

Create a cache of interceptors #43

Description

@marloncarvalho

It would be a good idea to create a cache where interceptors instances are stored. The current implementation always instantiates the whole chain and doesn't reuse the interceptors that were created. It would be probably better to cache these interceptors so they can be reused.

Moreover, I suppose it's expensive to instantiate objects in Dart then this cache is a good idea.

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions