dotnet / dotnet/symreader-portable

Optimize calculation of method extents

Open
#46 0 comments 0 reactions 0 assignees View on GitHub
enhancement help wanted
Dominant language
C#
Stars
90
Forks
45
Avg merge
2h 21m
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.