Skip to content

Commit 9db1c80

Browse files
Clarify TreeStore object-root probe fast-path comment
Agent-Logs-Url: https://github.com/Blosc/python-blosc2/sessions/973a79eb-d0c3-43ac-8008-54a9bd392be0 Co-authored-by: FrancescAlted <314521+FrancescAlted@users.noreply.github.com>
1 parent 4b7c0d6 commit 9db1c80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/blosc2/tree_store.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def _known_object_roots(self) -> set:
260260
return set(self._known_object_roots_cache)
261261

262262
registered = self._object_roots()
263-
# Fast path: when registry exists, avoid costly full-store probing.
263+
# Fast path: when registry is non-empty, avoid costly full-store probing.
264264
roots = registered if registered else self._probed_object_roots()
265265
self._known_object_roots_cache = set(roots)
266266
return set(roots)

0 commit comments

Comments
 (0)