Threading the mapper

All and any discussion and development of the Mudlet Mapper.
Post Reply
User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Threading the mapper

Post by chris »

Has this ever been suggested? The mapper really hangs when going through large areas with many exits (like a 20x20 grid with all exits valid).

User avatar
Vadi
Posts: 4940
Joined: Sat Mar 14, 2009 3:13 pm

Re: Threading the mapper

Post by Vadi »

Not that I know, but it also hasn't been optimized completely yet either - that should be looked at first.

User avatar
chris
Posts: 493
Joined: Fri Jun 17, 2011 5:39 am

Re: Threading the mapper

Post by chris »

I've been thinking on that issue as well. Looking through the code, the rooms are already pre-drawn and are loaded from a cache, so there isn't too much to speed up there. The exit drawing code is what kills it. I'll try pre-drawing 1/2 of each standard exit on rooms and see if that works out.

User avatar
Vadi
Posts: 4940
Joined: Sat Mar 14, 2009 3:13 pm

Re: Threading the mapper

Post by Vadi »

There was a pathing optimization added that didn't recalculate all costs on each request, but only when the map data was changed - perhaps that could be hooked in for this as well.

Post Reply