()
| 155 | |
| 156 | /** What the slice cache is holding — for tests, and for anyone diagnosing it. */ |
| 157 | export function highlightCacheStats(): { entries: number; lines: number } { |
| 158 | return { entries: sliceCache.size, lines: cachedLines }; |
| 159 | } |
| 160 | |
| 161 | /* ------------------------------------------------------------- the entry -- */ |
| 162 |