Skip to content

feat: add blacklist tag#9

Merged
bntrtm merged 3 commits into
mainfrom
add-blacklist-tag
Apr 6, 2026
Merged

feat: add blacklist tag#9
bntrtm merged 3 commits into
mainfrom
add-blacklist-tag

Conversation

@bntrtm
Copy link
Copy Markdown
Owner

@bntrtm bntrtm commented Apr 6, 2026

Add a struct tag (bl) for blacklisting fields a the type level.
Update documentation to reflect (ba dum tssss) the new change (and some related recent ones while we're at it).

Resolves #6

bntrtm added 3 commits April 5, 2026 20:08
Add a new tag for blacklisting struct fields at the type level. This tag
is logically incompatible with the idx tag. Interopability with the idx
tag has been implemented to ensure they are never used on the same struct
field, and that fields blacklisted at the type level with struct tags are
ignored where necessary.
If idx is all about testing the idx tag for the sake of better memory layouts, it would be ironic to not have these test structs be in the most memory-efficient order.
@bntrtm bntrtm merged commit 3fbfa0c into main Apr 6, 2026
@bntrtm bntrtm deleted the add-blacklist-tag branch April 10, 2026 02:22
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.

Add struct tag for blacklisting fields at the type level

1 participant