Atelier des rouesLab FR
Register/AT.T5
Synthetic workload comparison · AT.T5

The cost of building and querying a calendar

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

I treat the 1,536 matching count/rank answers and the timing comparison as a bounded workload result: materialization wins on the six tested profiles, while the larger cycle costs more memory to build. Periodic-set calendar reasoning is established in Bettini, Mascetti, and Wang; this entry adds a small implicit-versus-materialized comparison. It may inform implementation choices, but 256 synthetic requests on cycles of 420 and 5,063 positions do not show a crossover for larger periods or real traces.

Supporting Temporal Reasoning by Mapping Calendar Expressions to Minimal Periodic Sets — Claudio Bettini, Sergio Mascetti, and X. Sean Wang

How I rate results

Assumptions

I fix two pairs of integer periods, masks and three profiles of 256 paired queries.

Result

Both methods give the same 1,536 count/rank pairs. On cycles of 420 and 5,063 ticks, materialisation wins on end-to-end time for all six loads. On the second cycle it uses 32,224 Python bytes to build against 3,932 for the implicit counter.

Prior work

Bettini, Mascetti & Wang, Supporting Temporal Reasoning by Mapping Calendar Expressions to Minimal Periodic Sets

Next question

I seek a crossover at long periods and few queries, followed by a domain workload.

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.