RoaringBitmap / RoaringBitmap/roaring-rs

Pushing values in a Treemap should be more restrictive

Open
#183 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
957
Forks
119
Avg merge
3d 3h
Merged PRs (30d)
1

Description

Pushes value in the treemap only if it is greater than the current maximum value.

Pushing a value in a Treemap should be more restrictive and fit the description of the Treemap::push method.

Originally posted by @Kerollmops in https://github.com/RoaringBitmap/roaring-rs/pull/182#discussion_r800460847

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the Treemap::push method and compare its current value-checking behavior with the method description. Confirm the intended restriction from the linked discussion, then verify that pushing values follows that description and does not accept values outside it.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
data
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.