Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement LittleSet (follow-up on #95) #107

Open
wants to merge 16 commits into
base: master
Choose a base branch
from
Open

Conversation

Tokazama
Copy link
Member

@Tokazama Tokazama commented Aug 10, 2023

This is an updated go at #95 thats more feature complete and tests

@Tokazama Tokazama changed the title Follow-up on #95 Implement LittleSet (follow-up on #95) Aug 13, 2023
This overcomes the issue with Julia v1.6 not supporting replace for
tuples and does a better job working around the opaque tuple variant
src/little_set.jl Outdated Show resolved Hide resolved
src/little_set.jl Outdated Show resolved Hide resolved
src/little_set.jl Outdated Show resolved Hide resolved
Julia v1.7+ supports `replace` for tuples so had
to manually implement this here. Also removed
inference testing for the current approach since it
uses a temporary `Vector` to store results. This
is probably a sold approach for any frozen set of
tuples over 32, but it would be good to optimize
for smaller cases in the future.
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