author | Alberto Bertogli <albertogli@telpin.com.ar> |
local date | Wed, 22 Feb 2006 04:47:15 |
date | Wed, 22 Feb 2006 04:47:15 |
hash | 20060222044715-d5d94-93f5434ae91beb0fde019c84026406d1f7693c0e |
Move some one-time used imports to the user location.
As a minor but noticeable optimization to darcsweb's load time, move the
importing of sha and email.Utils modules to the place where they're used (only
one in both cases).
This takes the time spent on imports from 0.027s to 0.021s, which will
probably be slightly noticeable on slower machines, reducing the time taken by
a cache hit from 0.030s to 0.024s (on misses it doesn't make a difference).
1 file(s) changed: