Skip to content

Use u32 for the index --contiains #9#10

Open
Ericson2314 wants to merge 2 commits intorust-ethereum:masterfrom
obsidiansystems:sized-index
Open

Use u32 for the index --contiains #9#10
Ericson2314 wants to merge 2 commits intorust-ethereum:masterfrom
obsidiansystems:sized-index

Conversation

@Ericson2314
Copy link
Copy Markdown

Yes, we are indexing memory, but the index itself is manipulated in many non-numerical ways (XORs, etc.). I think it's better to use the fixed size type, just as one would do with a hash algorithm.

`Fn` is overkill
Yes, we are indexing memory, but the index itself is manipulated in many
non-numerical ways (XORs, etc.). I think it's better to use the fixed
size type, just as one would do with a hash algorithm.
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