String flags - redundant?

2008-07-15 Thread Alexandru Palade
Hi to everyone, I'm rather a Python newbie, so I've put myself a question. Are these two statements (performance-wise) equal? r Text and Text I mean using the raw flag speeds up things because the interpreter doesn't need to look after escape sequences? Or it's rather optimized? I'm

Re: String flags - redundant?

2008-07-15 Thread Marc 'BlackJack' Rintsch
On Tue, 15 Jul 2008 18:14:15 +0300, Alexandru Palade wrote: I'm rather a Python newbie, so I've put myself a question. Are these two statements (performance-wise) equal? r Text and Text I mean using the raw flag speeds up things because the interpreter doesn't need to look after