Most definitely. I had a case once where a developer implemented a method in a naive way (O(n^3)) to get something done quickly for a prototype. It took 45+ seconds to complete its task. But it worked, so that’s the version that went out to my team, as making it faster was low priority.