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

Add table_type option for :set and :ordered_set #331

Merged
merged 2 commits into from
Mar 21, 2024

Conversation

camilleryr
Copy link
Contributor

@camilleryr camilleryr commented Mar 21, 2024

This fixes #328.

I didn't put too much thought into any of the documentation, so feel free to make any changes you would like to see! Thanks again for all your work on this.
Chris

@whitfin
Copy link
Owner

whitfin commented Mar 21, 2024

This looks fine, although I would prefer if the option were simply ordered: true with the default being false (exactly how :compressed is handled).

If you'd like to update that, then I'm happy to merge - or I'm happy to merge and make the changes after. Up to you, Thank you!

@whitfin whitfin self-requested a review March 21, 2024 03:24
@whitfin whitfin added this to the v3.7.0 milestone Mar 21, 2024
@camilleryr
Copy link
Contributor Author

That makes sense to me - I think bag / duplicate_bag change the semantics of the storage enough that they don't make a ton of sense as options, so the boolean flag seems good! I have updated this PR accordingly.

@whitfin whitfin merged commit 94ddd01 into whitfin:main Mar 21, 2024
15 checks passed
@whitfin whitfin modified the milestones: v3.7.0, v4.0.0 Mar 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Using ordered_set type tables to back cache
2 participants