Skip to content
Commits on Mar 06, 2012
@cbbrowne cbbrowne Draw current_health out into separate table, ship_health. This is pro…
…bably not complete; future_health should also be drawn out, possibly to the same table.
Commits on Mar 07, 2012
@cbbrowne cbbrowne If we add ship_owner to ships_near_planets, then there is no need for…
… the view planets_in_range to join against ships
Commits on Mar 20, 2012
Christopher Browne Add a script that does some useful stuff 88e05eb
Commits on Mar 21, 2012
@cbbrowne cbbrowne Multiple speeds for scouts 2bcf1c9
Christopher Browne More policy. Refuel at the right time, and such 58e4c4d
Christopher Browne Merge branch 'master' of
@cbbrowne cbbrowne Slow down more exactly 9cb79b8
@cbbrowne cbbrowne Properly claim planets, done by calling MINE(ship,planet) 5a5ae22
Christopher Browne perform, not select 024c9e6
@cbbrowne cbbrowne change type of data 11183b5
@cbbrowne cbbrowne Merge branch 'master' of 2a42066
@cbbrowne cbbrowne Starting on attack policy cbec705
@cbbrowne cbbrowne Entirely more sophisticated ship building policy bc2eca4
@cbbrowne cbbrowne More more improvements a3fd4b6
@cbbrowne cbbrowne Fix typos 584a739
@cbbrowne cbbrowne Fix typos 08d2ca0
@cbbrowne cbbrowne Fix typos ba8408a
@cbbrowne cbbrowne Fix typos e5f61f4
@cbbrowne cbbrowne Fix typos 723294d
Commits on Mar 22, 2012
@cbbrowne cbbrowne Merge branch 'master' of
@cbbrowne cbbrowne Merge branch 'master' of 48c32f8
@cbbrowne cbbrowne Fix references to use target_speed a389b77
Christopher Browne Optimization:
a) Add variable declarations that get used extensively
b) temp table captures my_ships data so that the function doesn't get called repetitively
c) Remove queries against events
d) NOTIFY on timing information
e) Run the fleet function before letting it commit
Christopher Browne Pull essential planet data into temp table, use that for fast lookups 7f888fc
Christopher Browne optimization to ships_near_ships
Add health, owner columns to the table, and capture that at computation time.
That way the joins against ship table are much less necessary.
Also, drop the range check in the view; it's done at the time tuples are put into the table
Christopher Browne Merge branch 'master' of
Christopher Browne More sophisticated ship speed upgrade code 5a546c6
Christopher Browne When scripts are run, log this in the event log 6bc76ed
Christopher Browne When scripts are run, log how long the script took 06d6d12
Christopher Browne Add a script that notionally loads schemaverse from scratch, and runs…
… any test scripts it finds
Commits on Mar 23, 2012
@cbbrowne cbbrowne I worked out the math of how to *properly* decelerate a943671
Christopher Browne Optimize conquering of planets by using temp tables rather than expen…
…sive views.

Change policy for creating ships to generate *way* fewer scouts, and adapt to where I *should* be building my ships
Christopher Browne Merge branch 'master' of 5b3f4bf
Christopher Browne Refuel the ships that are nearest their destinations first; slowing t…
…hem down is crucial
Commits on Mar 24, 2012
@cbbrowne cbbrowne Improve performance of my_ships view ebb1d6c
@cbbrowne cbbrowne And remove the player_id column on ship_control, as it seems like it …
…may not be super-necessary.
Commits on Mar 26, 2012
@cbbrowne cbbrowne fix problems with planetary defense analysis - temp tables, missing u…
…npopulated planets. And change max speed frrom 2000 to 5000
Christopher Browne Tweak refueling to only refuel if we *want* to change speeds ca39f92
Christopher Browne Merge branch 'master' of 8e0831e
Christopher Browne Split event into private_event and global_event, eliminating the PUBL…
…IC attribute, and thus an OR clause that tends to injure performance
Christopher Browne Need to make sure the script is enabled + running. Also, for now, don…
…'t build any ships
Commits on Apr 02, 2012
Christopher Browne Merge branch 'master' of

Merging in recent changes
Christopher Browne Compact the IN_RANGE_PLANET() function.
I suspect that there would be merit to shifting this to plsql...
Christopher Browne Change in_range_planet() to a bare SQL function. Should be fastest. 747a405
Christopher Browne Change in_range_ship() to a bare SQL function. Should be faster. 4efb918
Commits on Apr 16, 2012
@cbbrowne cbbrowne Change the improving-ships-speed to adapt to funds availability 641d9b1
@cbbrowne cbbrowne Merge branch 'master' of 4e495de
@cbbrowne cbbrowne Merge branch 'master' of
@cbbrowne cbbrowne ships_near_ships --> ships_visible. See issue #20 b9a25e6
Something went wrong with that request. Please try again.