Atelier des rouesLab FR
Register/AT.T3
Algorithm and comparative measurement · AT.T3

Full cost of a local calendar update

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

I read this as a bounded update benchmark using a Fenwick tree for rank over periodic masks. Fenwick’s original cumulative-frequency structure and the later work on compact dynamic ranking and selection already cover the central data-structure idea; the local contribution is applying it to mask toggles and comparing rebuild costs. That can guide this implementation, but the reported 16 update cases and 32 static cases do not establish broader utility, and compatible-partner enumeration remains unmeasured.

A New Data Structure for Cumulative Frequency Tables — Peter M. Fenwick · Compact Fenwick trees for dynamic ranking and selection — Giuseppe Ottaviano and Rossano Venturini

How I rate results

Assumptions

Two periodic masks, left-phase toggles and Fenwick rank over 64-bit words. Finite AT.T2 grid.

Result

I reproduce all 3,656 answers. The mutable bitmap beats rebuilding on all 16 workloads with flips. Static bits win this comparison on all 32 without flips.

Prior work

Fenwick, A new data structure for cumulative frequency tables

Next question

Price direct enumeration of compatible partners and updates to both masks.

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.