Run any code in constant time