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

snprintf uses 23kb #6

Open
Ixox opened this issue Mar 10, 2011 · 1 comment
Open

snprintf uses 23kb #6

Ixox opened this issue Mar 10, 2011 · 1 comment

Comments

@Ixox
Copy link

Ixox commented Mar 10, 2011

Hello,

I've noticed, that since the last Print.cpp rewrite, the usage of snprintf() make the final binary 23kb bigger.
See : http://forums.leaflabs.com/topic.php?id=680
For more info,

Thanks,
Xavier

@mbolivar
Copy link
Contributor

Hi Xavier,

We wanted to use snprintf because printing floating point numbers is non-trivial to get right, and the old implementation was very naive.

The extra bloat is an issue, though. We'll figure something out.

By the way, thanks for using the bleeding-edge version of libmaple! It's extremely useful and encouraging to get rapid feedback on changes we make.

Best,
Marti

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

No branches or pull requests

2 participants