pkgcheck icon indicating copy to clipboard operation
pkgcheck copied to clipboard

refactor: convert Results to immutable named tuples

Open ferringb opened this issue 2 months ago • 0 comments

Slotting is both faster in access (drastically), faster in pickling, and simplifies freezing which would prevent code mistakes mutating the results during consumption.

The point of this is more to force defensive measures into the implementation; the perf gain is ancillary but welcome, even if I expect it to be lost in the background of how much work pkgcheck does.

ferringb avatar Dec 07 '25 12:12 ferringb