Skip to content

[newchem-cpp] Introduce Runtime SpLUT#492

Draft
mabruzzo wants to merge 217 commits intograckle-project:newchem-cppfrom
mabruzzo:ncc/runtime_sp_lut
Draft

[newchem-cpp] Introduce Runtime SpLUT#492
mabruzzo wants to merge 217 commits intograckle-project:newchem-cppfrom
mabruzzo:ncc/runtime_sp_lut

Conversation

@mabruzzo
Copy link
Collaborator

This is a wip PR

There is some unforunate consequences, but if we don't do this you end
up with some pretty confusing looking code... (the confusion primarily
arises if new_FrozenKeyIdxBiMap or drop_FrozenKeyIdxBiMap has different
behavior from other functions with similar names). I really think it
would be better to make this into a simple C++ class with a constructor
and destructor, but thats a topic for another time
There's still a lot of work to be done (the type is incomplete and isn't
filled by anything at all)
We don't yet use the new format, but we are just about ready to start
doing so
Both changes essentially affected 2 constants, which prior to this
commit were known as `keylen_max` & `invalid_val`.

The 2 contained constants are really just implementation details that
users of the inferface for `FrozenKeyIdxBiMap` shouldn't need to know
anything about
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