Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
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.
0fde798
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
ab99a81
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 github.com:cbbrowne/Schemaverse
Conflicts:
	sample_script.sql
ab6eb52
@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 github.com:cbbrowne/Schemaverse 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 https://github.com/Abstrct/Schemaverse
Conflicts:
	create_schemaverse.sql
9062b7a
@cbbrowne cbbrowne Merge branch 'master' of github.com:cbbrowne/Schemaverse 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
aa3f5a2
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
e1a3877
Christopher Browne Merge branch 'master' of github.com:cbbrowne/Schemaverse
Conflicts:
	sample_script.sql
9c0b372
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
fc9bfac
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
d6a61f8
Christopher Browne Merge branch 'master' of github.com:cbbrowne/Schemaverse 5b3f4bf
Christopher Browne Refuel the ships that are nearest their destinations first; slowing t…
…hem down is crucial
4769fb5
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.
a610be6
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
6da3980
Christopher Browne Tweak refueling to only refuel if we *want* to change speeds ca39f92
Christopher Browne Merge branch 'master' of github.com:cbbrowne/Schemaverse 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
4964097
Christopher Browne Need to make sure the script is enabled + running. Also, for now, don…
…'t build any ships
65f2014
Commits on Apr 02, 2012
Christopher Browne Merge branch 'master' of https://github.com/Abstrct/Schemaverse
Conflicts:
	create_schemaverse.sql

Merging in recent changes
e5d68f7
Christopher Browne Compact the IN_RANGE_PLANET() function.
I suspect that there would be merit to shifting this to plsql...
3eb16a7
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 09, 2012
Christopher Browne Don't give 'warning' of new ships until the next tic. That makes
it *way* cheaper to create new ships.
4142284
Something went wrong with that request. Please try again.