mudlet-makers team mailing list archive
-
mudlet-makers team
-
Mailing list archive
-
Message #04872
[Bug 1266573] Re: getRoomsByPosition() has poor performance
Migrating issues to Github, please follow the new discussion here:
https://github.com/Mudlet/Mudlet/issues/758
This issue needs to be closed and there is no appropriate status, so
will set it to "Opinion" just for migration purposes.
** Bug watch added: github.com/Mudlet/Mudlet/issues #758
https://github.com/Mudlet/Mudlet/issues/758
** Changed in: mudlet
Status: New => Opinion
--
You received this bug notification because you are a member of Mudlet
Makers, which is subscribed to Mudlet.
https://bugs.launchpad.net/bugs/1266573
Title:
getRoomsByPosition() has poor performance
Status in Mudlet:
Opinion
Bug description:
It loops through all rooms in an area and is really slow. In a script
that was autolinking exits, replacing a getRoomsByPosition() call with
a Lua table lookup decreased the time to process 50 rooms from 9.7s
down to 0.001s.
To manage notifications about this bug go to:
https://bugs.launchpad.net/mudlet/+bug/1266573/+subscriptions
References