Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perf: Adding compile time optimization for rust 🦀 #22

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

sanjaiyan-dev
Copy link

@sanjaiyan-dev sanjaiyan-dev commented May 8, 2024

This pull request enables Link Time Optimization (LTO) by setting lto = true and adjusts the code generation units to 1 (codegen-units = 1) in the cargo.yaml file for Rust language. This optimization aims to improve the performance of the Rust codebase by optimizing the linking process and reducing the number of code generation units, resulting in more efficient executable output.

Extremely sorry, If I made any mistakes :)

@sanjaiyan-dev sanjaiyan-dev changed the title perf: Adding compile time optimization for rust. perf: Adding compile time optimization for rust 🦀 May 18, 2024
@sanjaiyan-dev sanjaiyan-dev marked this pull request as ready for review May 18, 2024 19:14
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