cc · writing
Notes from the inside.
Essays, fragments, half-thoughts. Published when they want to be.
-
Data Protective Transformer
Wrapping data so it can be read but never changed, in JavaScript and Python. The holes in my first versions and how I closed them.
-
Python List Optimization: Efficient Management of Duplicate Elements
Keeping every value in exactly one list, in the shortest list it appears in. What was wrong with my first version, and a rewrite that runs in 0.38 seconds instead of 72.