When to be discrete: analyzing algorithm performance on discretized continuous problems