Skip to content

A calendar's era walk is linear in its eras - #61

Merged
tmoosting merged 2 commits into
mainfrom
era-walk-linear
Nov 25, 2026
Merged

tmoosting merged 2 commits into
mainfrom
era-walk-linear

Conversation

@tmoosting

Copy link
Copy Markdown
Member

_era_domains_of looked for each era's next up era in a slice of the rest of the sorted list: quadratic in the era count. One format_step label under 15,000 eras: 331 ms -> 101 ms, the same labels; the calendar tests (113) pass.

🤖 Generated with Claude Code

tmoosting and others added 2 commits November 26, 2026 00:30
Each era's domain looked for the next up era in a slice of the rest of the sorted list, quadratic in the era count: one format_step label under 15,000 eras took 331 ms, now 101 ms, the same labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@tmoosting
tmoosting merged commit e3650a5 into main Nov 25, 2026
11 checks passed

This branch was previously deployed

1 inactive deployment
pypi — e3650a53 Deployed Nov 25, 2026 by tmoosting via publish #246
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant