Skip to content

Clean up dependencies and use const_for! in one more place#153

Draft
AdamGS wants to merge 1 commit into
developfrom
adamg/crate-makeover
Draft

Clean up dependencies and use const_for! in one more place#153
AdamGS wants to merge 1 commit into
developfrom
adamg/crate-makeover

Conversation

@AdamGS

@AdamGS AdamGS commented Jun 12, 2026

Copy link
Copy Markdown
Contributor
  1. Upgrade to 2024 edition
  2. clean up dependencies - remove the unused core-detect and make them more consistent.
  3. Replace paste with pastey, which seems to be the most maintained fork.
  4. Replace two loops in the impl of Transpose to const_for instead of seq, which reduces the size of he rlib by 0.2MB (another ~5%)

Signed-off-by: Adam Gutglick <adam@spiraldb.com>
@codspeed-hq

codspeed-hq Bot commented Jun 12, 2026

Copy link
Copy Markdown

Merging this PR will improve performance by 28.83%

⚡ 2 improved benchmarks
✅ 156 untouched benchmarks
⏩ 123 skipped benchmarks1

Performance Changes

Mode Benchmark BASE HEAD Efficiency
Simulation for_pack_16_to_3_stack 1.8 µs 1.3 µs +40.45%
Simulation transpose_u16 9.5 µs 8 µs +18.18%

Tip

Curious why this is faster? Comment @codspeedbot explain why this is faster on this PR, or directly use the CodSpeed MCP with your agent.


Comparing adamg/crate-makeover (c89962e) with develop (ee05345)

Open in CodSpeed

Footnotes

  1. 123 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports.

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.

1 participant