update readme

This commit is contained in:
Senghan Bright 2021-01-14 03:08:44 +01:00
parent bef77dacf3
commit d1eab0a69c

View File

@ -5,7 +5,10 @@ An implementation of Mozilla's [Frecency algorithm](https://developer.mozilla.or
## Frecency: sorting by "frequency" and "recency" ## Frecency: sorting by "frequency" and "recency"
Frecency is a score given to each unique file loaded into a Neovim buffer. Frecency is a score given to each unique file loaded into a Neovim buffer.
On each load a timestamp is recorded to a database. The score is calculated using the age of the 10 most recent timestamps and the total amount of times the file has been loaded:
A timestamp is recorded to a database on each file load.
The score is calculated using the age of the 10 most recent timestamps and the total amount of times the file has been loaded:
### Recency values (per timestamp) ### Recency values (per timestamp)