Public bug reported:
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.
** Affects: mudlet
Importance: Undecided
Status: New
--
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 the MUD client:
New
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
_______________________________________________
Mailing list: https://launchpad.net/~mudlet-makers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~mudlet-makers
More help : https://help.launchpad.net/ListHelp