Skip to content
zit Check-in [19bcb02c0c]
Login

Check-in [19bcb02c0c]

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: 19bcb02c0c94f63bf00ed3c20dee1ab81f91f902702936ea7f937fe137114340
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