Skip to content
zit Check-in [501d2ba05f]
Login

Check-in [501d2ba05f]

Overview
Comment:The line diff and merge3 size every buffer from the line counts up front, so their allocations depend only on the input
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 501d2ba05f939865092687df689ec7bc8b6e21ed9a2d613c565180cc5a8fc73c
User & Date: dmestas on 2026-11-08 01:44:35.364
Other Links: manifest | tags
Context
2026-11-08
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
01:18
Every line diff in zit, from diff and its line counts to annotate and merge, is a port of Fossil's diff.c line diff (D. Richard Hipp), replacing the patience and Myers engines, so zit aligns repeated lines as Fossil does and annotate credits only the lines a check-in's diff adds; the blame cache and line-count cache are rebuilt check-in: 382fad4bad user: dmestas tags: trunk
Changes