user-pic

https://www.google.com/accounts/o8/id?id=AItOawl-Xbuy0IGGoGE9n3LHNgFpO_apKe8GgEk

  • Commented on Time::Moment vs DateTime
    moreover it has C++ interface with speeds of dozens millions/s. which you can use from your xs modules diretcly without slow perl layers....
  • Commented on Time::Moment vs DateTime
    Panda::Date is the fastest available framework. It doesn't use OS's time functions, instead it implements its own which are much faster. And with all these speeds, it is full-featured like datetime...
Subscribe to feed Recent Actions from https://www.google.com/accounts/o8/id?id=AItOawl-Xbuy0IGGoGE9n3LHNgFpO_apKe8GgEk

  • Christian Hansen commented on Time::Moment vs DateTime

    Time::Moment only use gettimeofday(2) and localtime(3) to compute the difference.

    I did consider to add Panda::Date until I reviewed the source code. Your code isn't thread safe and you require 5.18 to compile it, and your naïve implementation of a date with a time representation due to the broken down representation is just a wasteful! An instance of Time::Moment requires 16 bytes plus the overhead of a scalar allocation and is mostly faster than your implementation that doesn't even support a fractional representation!


  • Christian Hansen commented on Time::Moment vs DateTime

    And the benchmark:

  • Christian Damen commented on Time::Moment vs DateTime

    Gonna migrate our PERL5 applications from DateTime => Time::Moment. Thanks for all the efforts.

Subscribe to feed Responses to Comments from https://www.google.com/accounts/o8/id?id=AItOawl-Xbuy0IGGoGE9n3LHNgFpO_apKe8GgEk

About blogs.perl.org

blogs.perl.org is a common blogging platform for the Perl community. Written in Perl with a graphic design donated by Six Apart, Ltd.