I normally go through every single line as part of my warm-up before a show. When I'm working on a film or TV programme, there often isn't a rehearsal, so I tend to learn my lines much later. They are often shorter, too, so they're essentially just there.