A faster day-count to Y,M,D algorithm – 30-40% speedup
Show HN: A faster day-count to Y,M,D algorithm – 30-40% speedup
A faster day-count to Y,M,D algorithm – 30-40% speedup is a company in show hn launch.
Profile
Converting that integer to a Year, Month and Day is a fundamental calculation made in almost all programming languages and standard libraries. It runs every time a date is displayed, whether it's in a user interface, log, API etc.While it is rarely a bottleneck, it is a very frequently run algorithm, and thus has attracted a lot of attention over the years.In 2021, Cassio Neri and Lorenz Schneider developed the Neri-Schneider algorithm, which was a major breakthrough in this niche area.Lately, I have been studying this function deeply, and found what I believe may be the last remaining substantial improvements achievable on current hardware. The gains come mainly from counting dates backward
Its activity falls under show hn launch; the profile below is assembled from public directory data.
Directory data places it at the Show HN launch stage.
| Sector | Show HN launch |
|---|---|
| Stage | Show HN launch |
Website: www.benjoffe.com/fast-date-64
Browse related
Create a free account