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

Merge changes from TFS - #1661

Merged
jkotas merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs
Aug 16, 2016
Merged

jkotas merged 1 commit into
dotnet:nmirrorfrom
dotnet-bot:from-tfs

Conversation

@dotnet-bot

Copy link
Copy Markdown
Collaborator

No description provided.

Addressing a big known problem of the native metadata reader - allocating way too many arrays (and array enumerators) when reading metadata.

I'm updating the reader generator to generate XXXCollection types that are structs and have a struct enumerator.

I'm specifically not updating the consumers to take advantage of this (i.e. we still sometimes pass the collection as an IEnumerable within the reflection stack). This is because I don't want the changeset to clash with the reflection refactoring work - I would like to push this change into our next release. This makes SharedLibrary.dll 35 kB smaller on x86 because we no longer have the crazy amount of array types implementing all the crazy collection types.

[tfs-changeset: 1622617]
@jkotas
jkotas merged commit 6d5b72b into dotnet:nmirror Aug 16, 2016
@dotnet-bot
dotnet-bot deleted the from-tfs branch August 17, 2016 00:01
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants