Adding caching to tags and attribute lookups. Leads to a noticeable speed improvement.

This commit is contained in:
Griatch 2013-10-20 21:02:37 +02:00
parent 6ad30a8ba5
commit 07af616b67
6 changed files with 145 additions and 150 deletions

View file

@ -421,6 +421,7 @@ class CmdCreate(ObjManipCommand):
if 'drop' in self.switches:
if caller.location:
obj.home = caller.location
print "Doing the drop"
obj.move_to(caller.location, quiet=True)
if string:
caller.msg(string)