Software Bits Newsletter

Home
Archive
About

Sitemap - 2023 - Software Bits Newsletter

PyTorch's compilation and matrix multiplication.

strcmp vs strncmp

Faster reservoir sampling.

Vectorizing utf8_length_from_utf32.

Fast has_hex_prefix check.

Faster matching name search in rustc.

Adding unsafe code to rustc.

Avoiding unnecessary movements.

Speeding up rustc data structures.

Fixing famous binary search bug efficiently.

Ternary search trie.

Faster math in Rust?

Growing queues faster in go.

Fusing math.Sqrt calls.

Counting Weaviate vectors faster.

Reusing memory.

Polymorphic vectors.

Faster div_ceil.

cstdlib considered slow?

Constructing priority heap efficiently.

Making numpy string processing faster.

Goto considered useful?

Removing elements from vector efficiently?

constexpr Trie

emplace_hint

Space-time tradeoff?

cppyy

Trie vs std::unordered_set.

Recursion vs generators vs iterative in-order traversal.

C++ ranges are better than iterators?

Replacing functions with lookup tables.

Multi-dimensional std::vector

std::tuple instead of [[no_unique_address]]

Writing our own std::clamp.

Dictionary comprehension fusion in Python.

Be careful with C++ monads.

Comparing vectors for equality.

Case-insensitive equality checking in Kotlin.

Using golang bit trick for fast bucket selection.

Surprisingly expensive Python.

reversed vs [::-1]

Data types vs compiler optimizations.

Fast recursive lambda functions in C++.

© 2025 Taras Tsugrii
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share