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

(Do not merge yet) Reduce SSZ_CHUNK_SIZE to 32 #603

Closed
wants to merge 1 commit into from

Conversation

JustinDrake
Copy link
Collaborator

The intent of setting SSZ_CHUNK_SIZE = 128 is to reduce the cost of hashing. It is possible (to be confirmed once we have more concrete numbers from implementers) that the gains are limited and not worth the complexity of using a non-standard chunk size.

If the gains indeed are limited, this PR aligns with the Eth2 goal "to minimize complexity, even at the cost of some losses in efficiency".

The intent of setting SSZ_CHUNK_SIZE = 128 is to reduce the cost of hashing. It is possible (to be confirmed once we have more concrete numbers from implementers) that the gains are limited and not worth the complexity of using a non-standard chunk size.

If the gains indeed are limited, this PR is aligned with the Eth2 goal "to minimize complexity, even at the cost of some losses in efficiency".
@JustinDrake
Copy link
Collaborator Author

screenshot 2019-02-11 at 14 57 31

@JustinDrake JustinDrake added the scope:SSZ Simple Serialize label Feb 11, 2019
@JustinDrake
Copy link
Collaborator Author

Closing in favour of #675.

@djrtwo djrtwo deleted the JustinDrake-patch-5 branch September 7, 2019 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants