Search Articles — Sudonull

Search Results

In this project

Arrays and cache: O(1) access optimization

https://sudonull.com/arrays-and-cache-o-1-access-optimization

We analyze why sequential access to arrays is 7–10 times faster than random. Benchmarks of strides, matrices, AoS/SoA. Acceleration up to 10× for middle/senior dev.

ArrayBuffer Memory Management in JS: Tricks

https://sudonull.com/arraybuffer-memory-management-in-js-tricks

Speed up the release of large ArrayBuffer in JavaScript using MessageChannel and Worker. Peak memory reduction up to 310 MB in Chrome. Code, benchmarks, compatibility for middle/senior dev.

Type-safe PHP arrays: +4x speed

https://sudonull.com/type-safe-php-arrays-4x-speed

Accelerating sbwerewolf/language-specific library by 4 times. Benchmarks against wplake/typed, code examples of chainable API. For PHP developers: readability vs performance. Study the optimizations.

Double argsort for ranks of NumPy arrays

https://sudonull.com/double-argsort-for-ranks-of-numpy-arrays

Figure out why argsort(argsort(x)) gives element ranks. Full mathematical proof, code examples, and comparison with rankdata. For data scientists and ML engineers.

From other projects

Trending Now