/* import backtrace.backtrace; */ /* import std.stdio: stderr; */ /* backtrace.backtrace.install(stderr); */ immutable x = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]; immutable xPacked = x.packBitParallelRunLengths; version (show) dbg(xPacked);
See Implementation