How much editing does a book take?

There are hundreds, thousands, maybe millions of different ways to write a book. I consider myself a “discovery writer” or “gardener” (some might say pantser). I tend to write extremely messy first drafts, sometimes drafts that have only a vague semblance to the story that I later realize I want to tell. Did you ever …