Skip to content

Conversation

@Forostovec
Copy link

The docstring above InternedField incorrectly described a 64-bit bit-packed layout with tag bits, inline small constants (two’s complement), and a “coefficient pool index.” In reality, InternedField is a u32 opaque handle with special cases: 0 => F::ONE, 1 => -F::ONE, and >=2 indexing into FieldInterner::vec. No bit tagging or inline-constant encoding is implemented anywhere in the codebase. Updated the documentation to reflect the actual design to prevent developer confusion.

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