Home World Forum
Stars! AutoHost web forums

Jump to Stars! AutoHost


 
 
Home » Stars! Clones, Extensions, Modding » FreeStars » Shipsets
Re: Shipsets Sun, 01 October 2006 18:20 Go to previous messageGo to previous message
Kotk

 
Commander

Messages: 1227
Registered: May 2003
m.a@stars wrote on Sun, 01 October 2006 19:22

Just what kind of inconsistency is that? Can you relate it to PRT, LRT or perhaps hab settings? Sherlock

When i write race to disk and read back into race wizard GetAdvantagePoints gives different points than before writing. Tiny xml is slow i dont want to save race after each click. Pobably i make the changes to race in some wrong way there.
Quote:

There's already two RaceWizards in seemingly working order. Cool Perhaps we can compare notes and speedup the debugging process. Whip
Two other RaceWizards are already working? Shocked Any of them using LibFS library? Rolling Eyes
Quote:

Also, you might want to look at the calculateHab portions first for bottlenecks, as IIRC that's where the worst loops are. Rolling Eyes
Yes... i see the HabPointsRecursion is taking 4 deques as parameters. HabPointsRecursion is called 4500 times during GetAdvantagePoints so 18000 times copy constructing and then destructing std::deque ... that probably feels. HabPointsRecursion can take deque references as parameters. Using Rules::GetConstant repetively enough seems to be other bottleneck but lot less serious. Wink

Report message to a moderator

 
Read Message icon10.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: AR Rules
Next Topic: Summary of Math?
Goto Forum:
  


Current Time: Sat Apr 27 05:20:18 EDT 2024