A Faster Lexer in Go

eli.thegreenplace.net
a-faster-lexer-in-go

It’s been a while since I’ve last rewritten my favorite lexical analyzer 🙂 That post is the last in a series implementing a lexer for the TableGen language in a variety of programming languages, using multiple techniques. The last lexer … Read more

Faster Python calculations with Numba

pythonspeed.com
faster-python-calculations-with-numba

Python is a slow language, so computation is best delegated to code written in something faster. You can do this with existing libraries like NumPy and SciPy, but what happens when you need to implement a new algorithm, and you … Read more

Faster IndexOf for Substrings in .NET

github.com
faster-indexof-for-substrings-in.net

Faster IndexOf for substrings by EgorBo · Pull Request #63285 · dotnet/runtime · GitHub _data.IndexOf(“walking”, StringComparison.Ordinal); // or _data.AsSpan().IndexOf() } Results: | Toolchain | Mean | Error | StdDev | Ratio | |———————- |———:|———:|———:|——:| | Baselinecorerun.exe | 32.94 ns | … Read more

Faster TypedArrays: Vector Addition in WebAssembly

jott.live

jott – wasm_vector_addition # 15x Faster TypedArrays: Vector Addition in WebAssembly @ 154GB/s *by [@bwasti](https://twitter.com/bwasti)* **** Vector addition is the process of adding vector components: $$ overrightarrow{A} + overrightarrow{B} = (a_0 + b_0, a_1 + b_1, dots) $$ Over my … Read more

Faster Mac dev tools with custom allocators

eisel.me

Introduction When trying to speed up a dev tool, like the swift compiler or the linker, developers may try a few things. For example, they may look through the man page for flags to speed them up (like -j8 to … Read more

How much faster is Java 17?

optaplanner.org
how-much-faster-is-java-17?

Java 17 (released yesterday) comes with many new features and enhancements. However, most of those require code changes to benefit from. Expect for performance. Simply switch your JDK installation and you get a free performance boost. But how much? Is … Read more