Structs§
- Caching
Source MapView - A
SourceMapwrapper that caches info about a single recent code position. This gives a good speedup when hashing spans, because often multiple spans within a single line are hashed in succession, and this avoids expensiveSourceMaplookups each time the cache is hit. We used to cache multiple code positions, but caching a single position ended up being simpler and faster.