Skip to content

Make cacheing of presence/absence be optional #42

@eecavanna

Description

@eecavanna

In v0.2.2, instances of the Finder class began accumulating boolean flags in a dictionary, to keep track of which documents it succeeded or failed to find in a given collection.

Some users may not want to sacrifice the extra RAM that that consumes. For example, maybe CLI users will be OK with it, but library importers will not.

The task here is to make that caching optional. It can be enabled via a parameter to the Finder constructor.

We can disable it by default there so that the feature is opt-in. In our CLI code, we can enable it.

This way, it is enabled for CLI scans and optional for importers.

Later, we could add a CLI option so that even CLI users can choose.

Metadata

Metadata

Labels

backlogbacklogged to be reprioritized in the futureenhancementNew feature or requestx smallless than 1 day

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions