Skip to content

Remove the separate "storage" lifetime from the Signature API.#20

Merged
goffrie merged 1 commit into
masterfrom
no-storage
Dec 12, 2022
Merged

Remove the separate "storage" lifetime from the Signature API.#20
goffrie merged 1 commit into
masterfrom
no-storage

Conversation

@goffrie

@goffrie goffrie commented Dec 12, 2022

Copy link
Copy Markdown
Contributor

This was just crufty and it didn't actually help to reduce allocations either since we still had a vector inside of Signature itself. Instead, we can build up a serialized signature in Signature::calculate and use it more or less directly in index().

This is a breaking change.

This was just crufty and it didnt't actually help to reduce allocations either
since we still had a vector inside of `Signature` itself. Instead, we can build
up a serialized signature in `Signature::calculate` and use it more or less
directly in `index()`.

This is a breaking change.
@goffrie goffrie merged commit 5999f98 into master Dec 12, 2022
@goffrie goffrie deleted the no-storage branch December 12, 2022 23:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant