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

Redefine h2 as uint8 #33

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Redefine h2 as uint8 #33

wants to merge 2 commits into from

Conversation

colega
Copy link

@colega colega commented Jul 3, 2024

This doesn't change the logic, but by defining h2 as uint8, and using uint8 elsewhere, we can work properly with higher bits (and define empty in it's binary form, instead of having to use the negative value and a comment). This will also allow us future changes without having to play with overflows.

@colega colega changed the title h2 as uint8 Redefine h2 as uint8 Jul 3, 2024
@colega
Copy link
Author

colega commented Jul 3, 2024

This change is included in #34

@colega colega mentioned this pull request Jul 3, 2024
@colega colega marked this pull request as draft July 4, 2024 07:22
Avo documentation requires version to be pinned in order to be used in
production, however there was no reference to avo in the modules here,
so it's not possible to reproduce the build.

This extracts avo source to a submodule, in order to prevent it from
being downloaded as a transitive dependency when dolthub/swiss is
required, and adds a go:generate directive to simplify the build
process.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
This doesn't change the logic, but by defining h2 as uint8, and using
uint8 elsewhere, we can work properly with higher bits (and define empty
in it's binary form, instead of having to use the negative value and a
comment). This will also allow us future changes without having to play
with overflows.

Signed-off-by: Oleg Zaytsev <mail@olegzaytsev.com>
@colega
Copy link
Author

colega commented Jul 4, 2024

This includes changes from #35

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