From 43b96776e4606da43cbb28db0407a79a8a5fdf08 Mon Sep 17 00:00:00 2001 From: laurenspriem Date: Fri, 20 Jun 2025 16:58:36 +0530 Subject: [PATCH] Less aggressive precompute --- mobile/lib/ui/viewer/people/person_gallery_suggestion.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart b/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart index 129d865d6d..37e056b1a9 100644 --- a/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart +++ b/mobile/lib/ui/viewer/people/person_gallery_suggestion.dart @@ -123,7 +123,7 @@ class _PersonGallerySuggestionState extends State Future _precomputeNextSuggestions() async { try { // Precompute face crops for next few suggestions - const maxPrecompute = 3; + const maxPrecompute = 2; final endIndex = (currentSuggestionIndex + maxPrecompute) .clamp(0, allSuggestions.length);