Skip to content

Refactor: Use pkg/set types for internal set collections - #2193

Merged
harshavardhana merged 2 commits into
minio:masterfrom
harshavardhana:refactor/use-pkg-set-types
Jan 6, 2026
Merged

harshavardhana merged 2 commits into
minio:masterfrom
harshavardhana:refactor/use-pkg-set-types

Conversation

@harshavardhana

Copy link
Copy Markdown
Member

This change migrates manual map[T]struct{} implementations to use
the new generic Set[T] types from pkg/set.

This change migrates manual map[T]struct{} implementations to use
the new generic Set[T] types from pkg/set.
- Add IntSet-specific tests for JSON marshaling and string formatting
- Add msgp serialization tests for both StringSet and IntSet
- Test MarshalMsg/UnmarshalMsg, EncodeMsg/DecodeMsg, and Binary methods
- Verify sorted behavior in msgp serialization
- All tests pass
@harshavardhana
harshavardhana merged commit 3865112 into minio:master Jan 6, 2026
5 checks passed
@harshavardhana
harshavardhana deleted the refactor/use-pkg-set-types branch January 6, 2026 16:59
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