Group Abstract Group Abstract

Message Boards Message Boards

Date-related functions: revision and performance comparison

Posted 3 years ago
6 Replies

Thanks for putting this analysis together Benjamin, I've gone through the details you put together as well as the github repository you linked.

As you noted in the description, some of the differences are down to extra features like time zone/time system/calendar handling (Calendrical Calculations is actually the basis of a number of the in-built algorithms for some of the supported calendars...which you may have already guessed). Things like DayCountConvention and HolidayCalendar also add compexity to arithmetic operations.

..but having said that the most common cases for these are still substantially slower than they need to be, which is a particular problem for arrays of dates. Optimization is an on-going task, but one we hope to have greatly improved in the coming release, as well support in future features like dedicated date arrays for storing and operating on large collections of dates at once.

If you have any additional questions or feedback please feel free to note it here, or contact me directly, and I'll be happy to talk in more detail.

-Nick Lariviere Kernel Developer at Wolfram Research Inc

POSTED BY: Nick Lariviere
Posted 3 years ago

Hi Benjamin,

Very useful, thanks for sharing! You should consider submitting these to the Wolfram Function Repository.

POSTED BY: Rohit Namjoshi
POSTED BY: EDITORIAL BOARD

Thanks for the recognition.

Since you're more familiar with the wolfram communications system, should I report the "Possible Issues/Bugs" section separately, or has it been reported? What is your suggestion?

POSTED BY: l van Veen
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard