Skip to content

1.0.2 — Faster first calls on large projects

Choose a tag to compare

@sfy257000 sfy257000 released this 20 Nov 05:43
c73d2db

Local Codebase Indexer 1.0.2 makes the first call after a server starts much faster on large projects.

Performance

  • Scanning no longer reopens indexed files. A file already indexed with an unchanged modification time is known to be text, so the binary check is skipped; new and modified files are still checked. On a 3.4k-file project this removes about 3,400 file opens from every status call and pre-query refresh.
  • status consistency checks read indexes instead of whole tables. Rowid sets are compared with EXCEPT over covering indexes, the full-text side uses the FTS5 docsize shadow table, and orphaned reference paths are found by index seeks. On a 420 MB index one check pass reads about 65 MB instead of about 460 MB. Corruption outside an indexing run is still detected.

Upgrade notes

  • No index format change. A small idx_vss_rowid index is created automatically the first time an existing index is opened (about 15 s on a 42k-chunk index).

See CHANGELOG.