-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Refactored the `MemorySource` struct in `memory.go` to include `referencesBySubjectDigest` - Updated the `NewMemorySource` function to initialize these new fields. - Modified the `LoadEnvelope` function to populate these new fields when loading an envelope. - Updated the `Search` function to use these new fields when searching for matching envelopes. - These changes improve the efficiency of the search operation by reducing the time complexity. Signed-off-by: neilnaveen <[email protected]>
- Loading branch information
1 parent
5e567f0
commit 904fe4b
Showing
1 changed file
with
39 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters