> std.regex is triggering decompression and bringing a whole pile of logic that wouldn't be required otherwise This is good detective work. At minimum, please file a bugzilla issue with your analysis. How about making the decompression code lazy?