Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Optimize calculation of method extents #46

Open
tmat opened this issue Dec 23, 2016 · 0 comments
Open

Optimize calculation of method extents #46

tmat opened this issue Dec 23, 2016 · 0 comments

Comments

@tmat
Copy link
Member

tmat commented Dec 23, 2016

MethodMap.GetMethodExtents can be improved, the debug metadata schema has been updated to allow the optimization since the code was written.

See comment in code:

// We read and decode all sequence points in the file, which might be megabytes of data that need to be paged in.
// If we stored the primary document of single-document methods in a field of MethodBody table we would only need to decode 
// sequence point of methods that span multiple documents to build a map from Document -> Methods.
// We can then defer decoding sequence points of methods contained in a specified document until requested.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant