Skip to content

onlyworlds 0.149.0

Choose a tag to compare

@github-actions github-actions released this 24 Nov 14:59
· 61 commits to main since this release
  • Added: calendar.format_steps(cfg, steps), a page of dates in one calendar. The same words as format_step for every step, with the calendar's own work done once: its year shape, its eras in order, which months each day outside the months follows and the week's skipped days once for the call, each year's start and slots once per year. On a calendar of 64 eras, four leap rules and a year of 1,000 slots, 200 dates across the 32-bit range take about a sixth of the time format_step takes for them one by one; on two of the profile fixture's real calendars, about a quarter to a third. Held against format_step on every valid calendar of the fixture (the fixture's steps, a dense run inside a few years, a step in each of many years, the far edges); a step format_step refuses is refused the same way. format_step itself is unchanged.