[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [glob2-devel] Optimization suggestions (Map::updateLocalGradient())
From: |
Kai Antweiler |
Subject: |
Re: [glob2-devel] Optimization suggestions (Map::updateLocalGradient()) |
Date: |
Wed, 5 Sep 2007 13:06:38 +0200 |
> Perhaps... I actually learned something additional skills in that area
> myself, doing this.
> But first I'll have to send you the latest results - I got an additional
> 34% speed increase in that function today (and simplified code in
> several places)...
> - I'll be back, presumably tomorrow.
You can ask Steph for an mercurial account.
> Oh, and by the way: what would be helpful when profiling is if you could
> start the game with command-line options saying, "Load this savegame,
> run for $n ticks, and exit" - so that one can measure performance on the
> same amount of work :-)
# glob2 --nox
usage:
--nox <game file name> <number of steps> <number of runs>
zero steps will make the game run until the end.
But this won't load x, so the conditions are not the same as usual.
When I used this, I put an AI in the human team before I saved the game that I
wanted to use.
--
Kai Antweiler
- Re: [glob2-devel] Optimization suggestions (Map::updateLocalGradient()), (continued)
- Re: [glob2-devel] Optimization suggestions (Map::updateLocalGradient()), Joe Wells, 2007/09/04
- Message not available
- Re: [glob2-devel] Optimization suggestions (Map::updateLocalGradient()), Erik Søe Sørensen, 2007/09/05
- [glob2-devel] More Map code improvements, Erik Søe Sørensen, 2007/09/05
- Re: [glob2-devel] More Map code improvements, Kai Antweiler, 2007/09/05
- Re: [glob2-devel] More Map code improvements, Bradley Arsenault, 2007/09/05
- Re: [glob2-devel] More Map code improvements, Kai Antweiler, 2007/09/05
- documentation for gradients (was: [glob2-devel] More Map code improvements), Joe Wells, 2007/09/05
- Re: documentation for gradients (was: [glob2-devel] More Map code improvements), Kieran P, 2007/09/06
- Re: [glob2-devel] Optimization suggestions (Map::updateLocalGradient()),
Kai Antweiler <=
- Re: [glob2-devel] Optimization suggestions, Erik Søe Sørensen, 2007/09/05
- Re: [glob2-devel] Optimization suggestions, Erik Søe Sørensen, 2007/09/05
- Re: [glob2-devel] Optimization suggestions, Kai Antweiler, 2007/09/05
- Re: [glob2-devel] Optimization suggestions, Bradley Arsenault, 2007/09/05
- Re: [glob2-devel] Optimization suggestions, Kai Antweiler, 2007/09/05
- Re: [glob2-devel] Optimization suggestions, Bradley Arsenault, 2007/09/05
- Re: [glob2-devel] Optimization suggestions, Kai Antweiler, 2007/09/06
- Re: [glob2-devel] Optimization suggestions, Bradley Arsenault, 2007/09/06
- Re: [glob2-devel] Optimization suggestions, Erik Søe Sørensen, 2007/09/07
- Re: [glob2-devel] Optimization suggestions, Kai Antweiler, 2007/09/07