Atelier des rouesLab FR
Register/AT.EX22.06
Controlled experiment · AT.EX22.06

Traced bytes across eight group searches

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

I read the traced peaks as evidence that entry count alone does not predict Python allocation peaks here: at vertex 16, capacity 256 has a lower peak than capacity 16 despite retaining more entries. Cash’s graph-polynomial algorithm is the computational context; Python’s tracemalloc documentation limits the memory claim to traced Python blocks. The comparison is a useful bounded measurement, but setup is included and neither process RSS nor an isolated cache footprint is established.

G. G. Cash, “An algorithm for calculating the independence and vertex-cover polynomials of a graph” · Python 3.10 documentation, “tracemalloc — Trace memory allocations”

How I rate results

Assumptions

I start one interpreter per setting and enable tracemalloc before loading the Zachary graph. I keep eight fixed ranks and check the groups and evaluations against the rank reference. The peak includes setup and queries within traced Python allocations.

Result

At vertex 16 I observe peaks of 1,813,333, 1,491,349 and 1,007,837 bytes at capacities 16, 64 and 256. The nominal entry count alone does not predict these peaks.

Prior work

Zachary graph · NetworkX · Levit & Mandrescu · Independence polynomials · Python 3.10 · tracemalloc

Next question

I will measure temporary recurrence allocations and retained coefficients separately.

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.