Skip to content

[mercury] feat: Implement parallel encoding for zero delta window size#624

Merged
genedna merged 2 commits into
gitmono-dev:mainfrom
Hou-Xiaoxuan:parallel_pack_encode
Sep 29, 2024
Merged

[mercury] feat: Implement parallel encoding for zero delta window size#624
genedna merged 2 commits into
gitmono-dev:mainfrom
Hou-Xiaoxuan:parallel_pack_encode

Conversation

@Hou-Xiaoxuan

Copy link
Copy Markdown
Contributor

Approximately 10x faster on 12th Gen Intel i7-12700H (20-core).

Addresses #600 #571

…allel encode

1. Migrate send data from function `encode_one_object` to after return
2. `try_as_offset_delta` use &mut instead of clone and return.
3. Migrate invoke `try_as_offset_delta` to `encode` instand of
   `encode_one_object`
Signed-off-by: HouXiaoxuan <Hou_Xiaoxuan@163.com>
…ze is zero.

Signed-off-by: HouXiaoxuan <Hou_Xiaoxuan@163.com>
@vercel

vercel Bot commented Sep 29, 2024

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
mega ✅ Ready (Inspect) Visit Preview 💬 Add feedback Sep 29, 2024 8:33am

@genedna genedna added this pull request to the merge queue Sep 29, 2024
Merged via the queue into gitmono-dev:main with commit 1d1d65d Sep 29, 2024
@Hou-Xiaoxuan Hou-Xiaoxuan deleted the parallel_pack_encode branch September 30, 2024 04:46
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