Skip to content
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
This repository was archived by the owner on Nov 20, 2018. It is now read-only.

Consider reverting IFeatureCollection.Get<T>/Set<T> back to extension methods #811

@davidfowl

Description

@davidfowl

Turns out generic virtual dispatch is the worst of them all and this shows up on profiles now. IIRC we were able to achieve most of the inlining goals as part of the PR that changes FeatureReferences.

We need to compare the perf hit there with the not calling a generic virtual method. i.e use IFeatureCollection[typeof(SomeType)].

/cc @benaadams

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions