A webhook endpoint accepting bodies up to eight megabytes, and the signature check running after the decode. Validating before decoding costs one pass over the string and allocates…
Three days of profiling locally to explain a production slowdown that did not exist locally. A local profile measures the code and a production profile measures the system,…
Removing a method from an interface leaves every implementation with a public method nothing calls, and the language has no opinion about that. The #[Override] attribute turns this…
Checking whether a string is valid JSON meant decoding it and throwing the result away, which allocates the whole structure to answer a yes-or-no question. The saving is…
A test using shuffle() that failed roughly once a fortnight, and a global seed that could not be set without affecting everything else. The Randomizer arrived in 8.2…
6.4 and 7.0 shipped in the same week, which is the release model working as designed and is still a decision. Taking the long-term-support release and stopping is…