Skip to content

0.2.4

Choose a tag to compare

@github-actions github-actions released this 01 Oct 04:23
· 22 commits to main since this release

Added

  • Large projects are indexed in two passes. First every function gets a vector of its outline (path, name and
    signature), about a tenth of the work, so the whole project can be searched after a short wait, in any language the
    retriever knows. Then the background process computes the vectors of the whole source between searches, and results
    improve as it goes. Results found through an outline are marked by outline.

Changed

  • Reading a project writes to the index in batches of 500 files and loads every file's state in one query: reading
    about 6,000 files after the first time takes a few seconds instead of half a minute.

Fixed

  • s1grep stop, status and searches no longer hang while the background process is busy: it is pinged with a timeout,
    and stop ends it by force when it does not answer.
  • The time left for background indexing is measured from its first batch, once enough functions are done, instead of
    guessing hours from the first seconds.

Install

Linux (x86-64, glibc 2.38 or newer):

curl -fsSL https://raw.githubusercontent.com/apiservicesac/s1grep/main/install.sh | bash

Pin this version with --version 0.2.4. Already installed? Update in place:

curl -fsSL https://raw.githubusercontent.com/apiservicesac/s1grep/main/update.sh | bash

Windows (x86-64), in PowerShell:

irm https://raw.githubusercontent.com/apiservicesac/s1grep/main/install.ps1 | iex

Update in place:

irm https://raw.githubusercontent.com/apiservicesac/s1grep/main/update.ps1 | iex