al8n / rarena

Lock-free ARENA allocator and a set of lock-free data structures based on the ARENA allocator.
Apache License 2.0
8 stars 1 forks source link

remove some duplicate code #10

Closed al8n closed 3 months ago

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 61.89474% with 181 lines in your changes missing coverage. Please review.

Project coverage is 56.53%. Comparing base (882e79b) to head (de13303). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
rarena-allocator/src/memory.rs 60.32% 169 Missing :warning:
rarena-allocator/src/lib.rs 25.00% 12 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #10 +/- ## ========================================== - Coverage 57.02% 56.53% -0.49% ========================================== Files 12 13 +1 Lines 3176 2885 -291 ========================================== - Hits 1811 1631 -180 + Misses 1365 1254 -111 ``` | [Files with missing lines](https://app.codecov.io/gh/al8n/rarena/pull/10?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu) | Coverage Δ | | |---|---|---| | [rarena-allocator/src/sync.rs](https://app.codecov.io/gh/al8n/rarena/pull/10?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Fsync.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvc3luYy5ycw==) | `54.52% <100.00%> (-1.73%)` | :arrow_down: | | [rarena-allocator/src/unsync.rs](https://app.codecov.io/gh/al8n/rarena/pull/10?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Funsync.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvdW5zeW5jLnJz) | `45.09% <100.00%> (-4.91%)` | :arrow_down: | | [rarena-allocator/src/lib.rs](https://app.codecov.io/gh/al8n/rarena/pull/10?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvbGliLnJz) | `57.98% <25.00%> (-5.13%)` | :arrow_down: | | [rarena-allocator/src/memory.rs](https://app.codecov.io/gh/al8n/rarena/pull/10?src=pr&el=tree&filepath=rarena-allocator%2Fsrc%2Fmemory.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu#diff-cmFyZW5hLWFsbG9jYXRvci9zcmMvbWVtb3J5LnJz) | `60.32% <60.32%> (ø)` | | ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/al8n/rarena/pull/10?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/al8n/rarena/pull/10?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu). Last update [882e79b...de13303](https://app.codecov.io/gh/al8n/rarena/pull/10?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Al+Liu).