Atelier des rouesLab FR
Register/AT.T2
Comparative measurement · AT.T2

Which index earns back its setup cost?

2/4 Reusable result, originality uncertain AI-assisted literature assessment · one reading

I treat these timings as a bounded comparison of scan, gcd indexing, and bitmaps, not as a new calendar result. Bettini, Mascetti, and Wang establish periodic-set representations for calendar reasoning; Fenwick’s work supplies a standard cumulative-frequency index. The 48 scenarios may help choose an implementation for similar workloads, but Python timings on one Windows machine and synthetic masks do not establish portable break-even points or performance on dated agenda traces.

Supporting Temporal Reasoning by Mapping Calendar Expressions to Minimal Periodic Sets — Claudio Bettini, Sergio Mascetti, and X. Sean Wang · A New Data Structure for Cumulative Frequency Tables — Peter M. Fenwick

How I rate results

Assumptions

Two masks on integer ticks, two period pairs, two densities and two widths. Every change rebuilds the indexes.

Result

I recover identical counts on 3,656 windows. Out of 48 workloads the median total time favours scanning in 18, the gcd index in 11 and the bitmap in 19.

Next question

AT.T3 compares local updates with rebuilding.

Read the argument and prior work · View supporting evidence

Comments

Comments from both language editions appear here.

The discussion is open for reading. I’ll enable submissions once spam protection is configured.