Overview
| Comment: | annotate finds a file's versions from the file-history index and walks only as far as -n or the nearest cached version needs, and a repository lookup that scanned the whole image per call builds a table instead, so annotate -n 50 on a 644 MB store costs 50 ms instead of 38 s |
|---|---|
| Timelines: | family | ancestors | descendants | both | trunk |
| Files: | files | file ages | folders |
| SHA3-256: |
19bcb02c0c94f63bf00ed3c20dee1ab8 |
| User & Date: | dmestas on 2026-11-08 03:00:31.471 |
| Other Links: | manifest | tags |
Context
|
2026-11-08
| ||
| 04:02 | log for a path takes --offset, as Fossil's finfo spells it, and --cursor, the daemon's cursor, returning the next one in -F json; a check-in's entry for one file is found by searching its manifest instead of parsing it whole, and JSON rows take user and comment from derived state, so a cursor page of a deep history costs tens of milliseconds check-in: 1ed38cab8a user: dmestas tags: trunk | |
| 03:00 | annotate finds a file's versions from the file-history index and walks only as far as -n or the nearest cached version needs, and a repository lookup that scanned the whole image per call builds a table instead, so annotate -n 50 on a 644 MB store costs 50 ms instead of 38 s check-in: 19bcb02c0c user: dmestas tags: trunk | |
| 01:44 | The line diff and merge3 size every buffer from the line counts up front, so their allocations depend only on the input check-in: 501d2ba05f user: dmestas tags: trunk | |
Changes
Modified src/blamecache.zig
from [e7a0a452fb]
to [2de1de1ee0].
[diff]
Modified src/cmd/history.zig
from [6cea051c7e]
to [05dc05eae0].
[diff]
Modified src/core/blame.zig
from [5b2965761c]
to [8820b62a58].
[diff]
Modified src/core/feed.zig
from [142c62a2f6]
to [9c8472f629].
[diff]
Modified src/core/filelog.zig
from [04c9147e3e]
to [630f286299].
[diff]
Modified src/e2e.zig
from [eeb077e815]
to [d7e3279e76].
[diff]
Modified src/main.zig
from [4def1ab262]
to [3751efc81e].
[diff]
Modified src/repoimage.zig
from [e730a970d4]
to [d8e792f9a7].
[diff]
Modified src/repostate.zig
from [6b801ac7de]
to [909a0adafa].
[diff]
Modified src/repoview.zig
from [d5db8a5aa4]
to [6bd41c1a7c].
[diff]