Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Support generics. #17

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

itsdevbear
Copy link
Contributor

Useful, safe and I don't really see any downsides.

@CLAassistant
Copy link

CLAassistant commented Apr 16, 2024

CLA assistant check
All committers have signed the CLA.

@itsdevbear
Copy link
Contributor Author

@potuz

@potuz
Copy link
Collaborator

potuz commented May 8, 2024

Apologies for the delay, got dug in mailbox for some reason. I assume the usecase you want is to have flat byte slices for usecases? I agree this may be a cleaner solution. Could you add unit tests that check for both these paths with [][32]byte and []byte as arguments? As a plus, if you could provide benches on both attached to this PR that'd be great.

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.

3 participants