ganeshk has asked for the wisdom of the Perl Monks concerning the following question:

Is there any faster alternative to the Number::Format::format_number() like something written in C etc.?

Update: I also want to ask for which module does fast date formatting. Currently I am using Time::Piece. I took a glance at Date::Calc in CPAN but it doesn't seem to support date formatting.

  • Comment on Faster alternative to Number::Format and also fastest date formatting

Replies are listed 'Best First'.
Re: Faster alternative to Number::Format and also fastest date formatting
by jettero (Monsignor) on Aug 28, 2009 at 02:41 UTC
    Number::Format is pure perl so it works everywhere really easily... I've never known it to be any slower than the surrounding perl. Really?

    POSIX has a function, strftime, that completely rocks for fast date formating.

    -Paul