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

demo: Disable compiler optimization #712

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

Conversation

RobLoach
Copy link
Contributor

Using -O2 across the demos enables some optimization, which is great, but results in slow compilation. This can be particularly slow when testing out some new components during development. I recommend diabling this to speed up compilation when testing.

@awschult002
Copy link
Contributor

awschult002 commented Oct 21, 2024

if you havent heard of the "Tiny C Compiler" I cannot recommend it enough. Its the fastest compiler out there and its absolutely perfect for super quick development testing. I would not recommend it for release because its non-optimizing; but I use it all of the time for testing and its lightning fast.

https://github.com/TinyCC/tinycc

i am not recommending that the project call out this compiler, because the project uses the environment variable for that, which is preferred. I just have my env var setup to use tcc. works great

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