Reduced module load time by ~30% (~20ms per CGI or GAE request) and improved template parser performance.
Reduced module load time by ~30% (~20ms per CGI or GAE request) and improved
template parser performance.

As I found out today, 'tokenize' is a VERY hervy module. Importing it takes
about 22ms on a modern CPU. This module alone was responsible for 25% of
bottles load time. To get rid of it, I had to remove the 'inspect' dependency
as well (which uses 'tokenize' internally). The only remaining piece of code
that depends on 'inspect' is 'yieldroutes()', so try to avoid it in GAE or CGI
environments.

Bottle used 'tokenize' to strip comments from stpl templates. I solved this
with a 4-line regular expression. As a side effect, template parsing is up to
30% faster now. It's even less code than before. Regular expressions are fun :)

ifduyue/bottle,taisa007/bottle-ja,StdioA/bottle,SmithSamuelM/bottle,catroot/bottle,kevinmel2000/bottle,catroot/bottle,myzhan/bottle,ericfrederich/bottle,adragomir/bottle,AWFU/bottle,Inndy/bottle,taisa007/bottle-ja,Inndy/bottle,adragomir/bottle,samstav/bottle,defnull/bottle,CentricWebEstate/bottle,xsank/bottle,mrdon/bottle,kevintaw/bottle,StdioA/bottle,fkazimierczak/bottle,myzhan/bottle,wangjun/bottle,adampresley/bottle,AWFU/bottle,enzzc/bottle,enzzc/bottle,prologic/bottle,CentricWebEstate/bottle,Kjuly/bottle,gaotongfei/bottle,bottlepy/bottle,SamuelMarks/bottle,wangjun/bottle,fkazimierczak/bottle,ifduyue/bottle,ListFranz/bottle,adragomir/bottle,SmithSamuelM/bottle,mrdon/bottle,gaotongfei/bottle,mefyl/bottle,oz123/bottle,khirayama/bottle,khirayama/bottle,bottlepy/bottle,hayate/bottle,kevintaw/bottle,prologic/bottle,samstav/bottle,defnull/bottle,oz123/bottle,hkmshb/bottle,mefyl/bottle,ericfrederich/bottle,Kjuly/bottle,hkmshb/bottle,SamuelMarks/bottle,hayate/bottle,ListFranz/bottle,adampresley/bottle,kevinmel2000/bottle