Skip to content

Bin trie nits#86

Merged
cameroncuster merged 5 commits intomainfrom
bin_trie_nits
Jul 16, 2024
Merged

Bin trie nits#86
cameroncuster merged 5 commits intomainfrom
bin_trie_nits

Conversation

@lrvideckis
Copy link
Member

@lrvideckis lrvideckis commented Jul 8, 2024

a couple changes:

  • change type of sub_sz away from isize/usize
  • added pub type T = u32; so now if you want only 32 bits, it should be twice as fast & half the memory as previously with usize
  • if let Some() = .. syntax similar to trie golf/nit #84

Copy link
Member

@cameroncuster cameroncuster left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yeah good, I think we might be using isize and usize in other places as well where we should probably remove

@cameroncuster cameroncuster merged commit 55cd88b into main Jul 16, 2024
@cameroncuster cameroncuster deleted the bin_trie_nits branch July 16, 2024 15:31
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.

2 participants

Comments