mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 17:15:28 +00:00
replace vector collection with event snap for performance reasons (much detailed history logs not planned)
This commit is contained in:
parent
ce2b02569d
commit
11fecd9cf1
4 changed files with 63 additions and 21 deletions
|
|
@ -161,7 +161,7 @@ impl Suggestion {
|
|||
if !items.is_empty() {
|
||||
for item in items
|
||||
.into_iter()
|
||||
.sorted_by(|a, b| Ord::cmp(&b.opened.len(), &a.opened.len()))
|
||||
.sorted_by(|a, b| Ord::cmp(&b.opened.count, &a.opened.count))
|
||||
{
|
||||
let subtitle = highlight(&item.request, &query);
|
||||
let title = match item.title {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue