pypi zensical 0.0.10

latest releases: 0.0.67, 0.0.66, 0.0.65...
10 months ago

Summary

This release includes two massive performance improvements for Disco.

Highlights

  • Before this release, the query was always re-executed when paginating, i.e., scrolling and loading the next 10 results. This led to janky loading of results, since the entire query had to be re-run on every scroll event. With this fix, pagination is below 1ms and should feel extremely smooth, regardless of query execution time.

  • Highlighting was carried out on all results eagerly, not lazily only for the results that are visible. When indexing 25 MB of data (= a book with ~12.000 printed pages), Disco would take up to 150ms when querying for a single character (the worst case). This fix brings down worst case query time to 60ms for indexes of that size.

Changelog

Bug fixes

  • 10dd830 compat – zensical.toml doesn't recognize preview extension
  • 4fa53d7 ui – wrong alignment of Fontawesome icons in navigation
  • b48381d ui – 3x performance improvement for search (Disco)

Don't miss a new zensical release

NewReleases is sending notifications on new releases.