TinTin++ Mud Client The TinTin++ message board

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
TinTin++ Mud Client

Performance hit: duplicate call of show_vtmap()?

 
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports
View previous topic :: View next topic  
Author Message
Slysven



Joined: 10 Apr 2011
Posts: 365
Location: As "Jomin al'Bara" in WoTMUD or Wiltshire, UK

PostPosted: Mon Dec 05, 2011 11:05 pm    Post subject: Performance hit: duplicate call of show_vtmap()? Reply with quote

Just checking through the current (2.00.8.b4) beta and found that with #MAP FLAG VTMAP set the function to draw the vtmap, show_vtmap() seems to be called twice, once from follow_map() in mapper.c and again from terminal_update() in update.c. Is this required? I am poking around in the draw_room() code and taking a performance hit as I add more information (about AVOIDed exits) & common roomarea related back/foreground room coloration strings to that function; so if I can gain execution speed elsewhere it helps!
Back to top
View user's profile Send private message
Scandum
Site Admin


Joined: 03 Dec 2004
Posts: 3796

PostPosted: Tue Dec 06, 2011 8:14 am    Post subject: Reply with quote

I've added it to my todo list, there's probably something that can be done about it.
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    The TinTin++ message board Forum Index -> Bug Reports All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads Get TinTin++ Mud Client at SourceForge.net. Fast, secure and Free Open Source software downloads
TinTin++ Homepage

Powered by phpBB © 2001, 2002 phpBB Group