mirror of
https://github.com/perstarkse/minne.git
synced 2026-11-20 22:01:27 +01:00
fix: replaced several instances if cloning, reduced allocations
This commit is contained in:
1 parent
93c65970f1
commit
676fdbc132
12 files changed
+254
-110
No files matched your search
@@ -205,7 +205,7 @@ impl EvaluationCandidate {
|
||||
entity_description: Some(entity.entity.description.clone()),
|
||||
entity_category,
|
||||
score: entity.score,
|
||||
chunks: entity.chunks,
|
||||
chunks: entity.chunks.as_ref().clone(),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user