@@ -89,7 +89,7 @@ difference between the actual commits and the same commits with stencils added
89
89
amounts to a difference of 0.03 MB per stencil file. This is a small increase in
90
90
the context of the overall repository size, which has grown by 2.55 MB in the
91
91
same time period. For six stencil files, this amounts to an upper bound of 0.18 MB.
92
- The current total size of the stencil files for all six platforms is 7.2 MB.
92
+ The current total size of the stencil files for all six platforms is 7.2 MB. [ #stencil_calc ]_
93
93
94
94
These stencils could become larger in the future with changes to register
95
95
allocation, which would introduce 5-6 variants per instruction in each stencil
@@ -252,6 +252,17 @@ challenges of accessibility and simplicity, and fails to eliminate the
252
252
dependency which was deemed undesirable at the Python Core Developer Sprint in
253
253
the fall (the impetus for this PEP), making it a poor long-term solution.
254
254
255
+ Footnotes
256
+ =========
257
+
258
+ .. [#stencil_calc ] Calculated using this `Gist
259
+ <https://gist.github.com/savannahostrowski/c66ac62267e626d82aafa27939468e30> `__.
260
+ This script replays commits for roughly the past 90 days, generates the
261
+ stencil file for the platform for each commit, and then commits the stencil
262
+ file into a copy of the repository if they change. The calculation compares
263
+ the before and after of the repository after running ``git gc --aggressive ``,
264
+ which is used to pack the repo (similar to what GitHub does on repo clone).
265
+
255
266
Copyright
256
267
=========
257
268
0 commit comments