URL:
<http://gna.org/patch/?1275>
Summary: Two optimizations to attack_prediction.cpp
Project: Battle for Wesnoth
Submitted by: None
Submitted on: Thursday 09/03/2009 at 14:00 CEST
Priority: 5 - Normal
Status: None
Privacy: Public
Assigned to: None
Originator Email: [email protected]
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
Two small optimizations to attack_prediction.cpp:
#1 (attack_prediction.cpp.patch): Don't scan through columns/rows below
min_col_[src] / min_row_[src], since that will just waste time moving zeroes
around.
#2 (attack_prediction.cpp.patch.2): Set min_col_[] and min_row_[] to the
correct values instead of 0 when initializing.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thursday 09/03/2009 at 14:00 CEST Name: attack_prediction.cpp.patch
Size: 1kB By: None
<http://gna.org/patch/download.php?file_id=6559>
-------------------------------------------------------
Date: Thursday 09/03/2009 at 14:00 CEST Name: attack_prediction.cpp.patch.2
Size: 2kB By: None
<http://gna.org/patch/download.php?file_id=6560>
_______________________________________________________
Reply to this item at:
<http://gna.org/patch/?1275>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs