From: Toon Claes Date: Wed, 15 Jul 2026 05:09:12 GMT Subject: Re: [PATCH 6/7] odb: introduce object filters to `odb_for_each_object()` Message-ID: <87fr1kn8jr.fsf@emacs.iotcl.com> In-Reply-To: Patrick Steinhardt writes: > An alternative going forward could be to perform filtering of yielded > objects inside `odb_for_each_object()` itself so that it will filter out > any objects that the backends themselves couldn't filter efficiently. > But I'm not sure I want to go there as part of this series -- we only > have a single caller anyway that iterates with a filter, and that caller > already knows to manually filter references. Ah, that's a valid point. I didn't think of that. If only we were using a language that has lazy iterators ;) -- Cheers, Toon