websitehotSubmit

Saved community observations are available for this site. Latest collection: 2026-10-11 (UTC). This does not confirm the website is still available.

A Zoomable Equal-Area Map Projection that interpolates to Mercator

benjoffe.com
A Zoomable Equal-Area Map Projection that interpolates to Mercator preview

About A Zoomable Equal-Area Map Projection that interpolates to Mercator

Seamlessly transitioning to Mercator upon zoom

In the maker’s words

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 backwards, and from reducing the number of multiplications from 7 to 4. Adoption will depend on whether library maintainers consider the performance benefit to outweigh the readability. If this is rejected…
benjoffe, launching on Hacker News

Where people found it

Saved source observations

Latest observations from the last 14 UTC days. Each sample counts the retrieved posts from the collection’s 30-day window; votes and stars use different units. Missing dates or sources are gaps, not zero activity. Samples are not a traffic or growth measurement.

  • Hacker News

    Activity
    5 points
    Comments
    0
    Posts
    1

More sites like A Zoomable Equal-Area Map Projection that interpolates to Mercator