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.
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.