Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Basic implementation of (s)printf using @(s)printf macros. #15

Closed
wants to merge 1 commit into from
Closed

Basic implementation of (s)printf using @(s)printf macros. #15

wants to merge 1 commit into from

Conversation

dcarrera
Copy link

This is an implementation of printf() and sprintf() that relies on generated functions, and the existing @printf and @sprintf macros. The key code was posted on the Julia mailing list by Tim Holy. I just added the small wrappers to make printf() and sprintf().

@tonyhffong
Copy link
Contributor

could you post some performance benchmark?

@lindahua
Copy link
Contributor

lindahua commented Oct 2, 2015

I think eventually we should use Grisu algorithm.

@tonyhffong
Copy link
Contributor

From the way it is implemented, I'm not seeing what it offers materially either from a performance or expressiveness perspective. I recommend we reject this PR.

@kescobo
Copy link
Member

kescobo commented Mar 1, 2024

This package is no longer maintained (see #111). Please consider using Format.jl instead, and if this feature is unavailable / still desired, open an issue or PR there.

@kescobo kescobo closed this Mar 1, 2024
@kescobo kescobo added the wontfix label Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants