Depends entirely on the code base. Rewriting is usually much quicker than refactoring someone else's spaghetti.
I'm advocating considering refactoring first, not saying it is always the answer.
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.