deepseek-ai / deepseek-ai/3FS

Enable codegen-units = 1 optimization for the Rust part

Open
#248 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
10.2k
Forks
1.1k
PR merge metrics
No merged PRs in 30d

Description

Hi!

I see that in the Cargo.toml [file](https://github.com/deepseek-ai/3FS/blob/main/Cargo.toml) you've already enabled LTO optimization - that's great! I suggest you additionally enable `codegen-units = 1` [optimization](https://doc.rust-lang.org/rustc/codegen-options/index.html#codegen-units) - it will lead to better compiler optimization opportunities that consequently leads to smaller binary size and better performance.

Thanks!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.