A novel's whole pattern is rarely apparent at the outset of writing, or even at the end; that is when the writer finds out what a novel is about, and the job becomes one of understanding and deepening or sharpening what is already written. That is finding the theme.
Each film is different. Time Code was very quick - a matter of months. Miss Julie has been on my shelf as a script for some seven or eight years. But then the shooting process was very quick - 16 days.