[Crossfire-wiki] [Crossfire DokuWiki] page added: dev_todo:performance_improvements

no-reply_wiki at metalforge.org no-reply_wiki at metalforge.org
Fri Sep 22 11:29:40 CDT 2006


A page in your DokuWiki was added or changed. Here are the details:



Date        : 2006/09/22 11:29

User        : 

Edit Summary: created



====== Performance Improvements ======

===== Spells =====

=== Meteor Swarm ===

  * A few casts of meteor swarm can slow down a server for a bit

  * Slowdown profiled to mainly be in ok_to_put_more() in spell_util.c

    * ok_to_put_more() must transverse all objects on a square. Placing 20
 spell effects on one square, requires the inside of the loop in ok_to_put
_more to be ran 2.43e18 (20!) times. Meteor swarm often inserts more than 
50 effects, which would mean over 3.04e64 runs of that inner loop.





IP-Address  : 192.139.27.18

Old Revision: none

New Revision: http://wiki.metalforge.net/doku.php/dev_todo:performance_imp
rovements



-- 

This mail was generated by DokuWiki at

http://wiki.metalforge.net/





More information about the crossfire-wiki mailing list