Performant algorithms