Some speed features to django template system