Skip to content

index: support sorted index, add basic method Floor and Ceiling for treemap#90

Merged
wenchy merged 5 commits intomasterfrom
feat/keyed-index
Mar 19, 2025
Merged

index: support sorted index, add basic method Floor and Ceiling for treemap#90
wenchy merged 5 commits intomasterfrom
feat/keyed-index

Conversation

@Kybxd
Copy link
Copy Markdown
Collaborator

@Kybxd Kybxd commented Mar 19, 2025

No description provided.

Comment thread pkg/treemap/treemap.go
Comment thread pkg/treemap/treemap.go Outdated
Comment thread pkg/treemap/treemap.go Outdated
Comment thread pkg/treemap/treemap.go Outdated
// In case that no floor is found, then both returned values will be nil.
// It's generally enough to check the first value (key) for nil, which determines if floor was found.
//
// Floor key is defined as the largest key that is smaller than or equal to the given key.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

rename: smaller than or equal to-> less than or equal to

See https://wumbo.net/symbols/less-than-or-equal/

Comment thread pkg/treemap/treemap.go Outdated
@wenchy wenchy merged commit 8790e63 into master Mar 19, 2025
@wenchy wenchy deleted the feat/keyed-index branch March 19, 2025 07:17
@wenchy wenchy mentioned this pull request Jun 6, 2025
42 tasks
@wenchy wenchy changed the title index: support keyed index, add basic method Floor and Ceiling for treemap index: support ordered index, add basic method Floor and Ceiling for treemap Jul 5, 2025
@wenchy wenchy changed the title index: support ordered index, add basic method Floor and Ceiling for treemap index: support sorted index, add basic method Floor and Ceiling for treemap Jul 5, 2025
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