Routino SVN Repository Browser

Check out the latest version of Routino: svn co http://routino.org/svn/trunk routino

/[routino]/branches/libroutino/src/planetsplitter.c
ViewVC logotype

Log of /branches/libroutino/src/planetsplitter.c

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (download) (as text) (annotate)
Sticky Revision:


Revision 1710 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sun Jun 14 09:07:05 2015 UTC (9 years, 9 months ago) by amb
File length: 22260 byte(s)
Diff to previous 1708
Audit the use of function static variables to make sure that there are
no implicit assumptions about initialisation conditions that would be
wrong for library usage.  Fix problems and add comments for clarity.


Revision 1708 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 12 18:37:01 2015 UTC (9 years, 9 months ago) by amb
File length: 22256 byte(s)
Diff to previous 1700
Minimise the number of times that FileName() is called since each one
will allocate memory and take time.


Revision 1700 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 9 18:10:45 2015 UTC (9 years, 9 months ago) by amb
File length: 22277 byte(s)
Diff to previous 1680
Create a branch for a version that can be compiled into a library.

Revision 1680 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue May 26 17:28:56 2015 UTC (9 years, 9 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 22277 byte(s)
Diff to previous 1614
Merge branch 'MSVC' back into the trunk.


Revision 1614 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 25 13:22:29 2014 UTC (10 years, 4 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 22273 byte(s)
Diff to previous 1609
Sort the data geographically before pruning so that the data points physically
close together are close together in memory which reduces swapping/paging and
therefore runs much faster when memory is limited.


Revision 1609 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 21 09:55:41 2014 UTC (10 years, 4 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 22004 byte(s)
Diff to previous 1605
Clarify some comments.


Revision 1605 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Oct 18 10:30:57 2014 UTC (10 years, 5 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 21933 byte(s)
Diff to previous 1604
Free memory that it allocated by IndexSegments() when no longer needed rather
than holding on to it.


Revision 1604 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Oct 14 18:18:17 2014 UTC (10 years, 5 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 21921 byte(s)
Diff to previous 1601
Speed up the database generation when pruning by reducing the amount of random
memory accesses are required by compacting the database after each step.  Unless
there is enough RAM to hold all the memory mapped files this should be faster.


Revision 1601 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Oct 10 18:35:26 2014 UTC (10 years, 5 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 21224 byte(s)
Diff to previous 1599
Log the router time in microseconds rather than milliseconds.
Add a note at the end about the format of the time and memory logging.


Revision 1599 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Sep 30 18:31:51 2014 UTC (10 years, 5 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 21191 byte(s)
Diff to previous 1598
Use exit() when exiting the program other than at the end of the main function.


Revision 1598 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Sep 27 16:35:09 2014 UTC (10 years, 5 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 21173 byte(s)
Diff to previous 1595
Add a '--logmemory' option to planetsplitter which will report the maximum
memory in use (allocated and mapped files) during each step of the processing.


Revision 1595 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Sep 26 14:49:59 2014 UTC (10 years, 5 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20991 byte(s)
Diff to previous 1514
Free the segment list before generating the errorlog files (it isn't used).


Revision 1514 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Feb 22 14:00:03 2014 UTC (11 years ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20938 byte(s)
Diff to previous 1451
Add the option for automatic uncompression of .xz compressed files (not enabled
by default in Makefile.conf).


Revision 1451 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jul 3 17:30:03 2013 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20576 byte(s)
Diff to previous 1431
Revert r1268 which was applied between v2.5 and v2.5.1 and could be the cause of
the slight slowdown in version 2.5.1.


Revision 1431 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 28 14:39:14 2013 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20576 byte(s)
Diff to previous 1428
Revert the last three changes because r1430 didn't work and r1428+r1429 didn't
give any speed advantage and was possibly marginally slower.


Revision 1428 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 27 18:29:33 2013 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20477 byte(s)
Diff to previous 1427
Put the next1 pointer in the segmentx object rather than in-memory.


Revision 1427 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Thu Jun 27 18:01:14 2013 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20576 byte(s)
Diff to previous 1426
Revert the last change because, paradoxically, it was faster to create the
database (as expected) but slower to route.


Revision 1426 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 26 18:26:27 2013 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20328 byte(s)
Diff to previous 1424
Sort the nodes geographically at the beginning rather than at the end.


Revision 1424 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Tue Jun 25 19:10:07 2013 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20576 byte(s)
Diff to previous 1412
Remove one usage of the nodesx->gdata array.  Remove one call of the
IndexSegments() function.  Update the DATALIFE.txt file with both and the
previous changes to mapped files and add a new column for segmentx->next2.


Revision 1412 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 22 18:43:50 2013 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20660 byte(s)
Diff to previous 1410
Create simple OpenFile() and CloseFile() functions for those files which are
used by the parsers (they just call open() and close() internally).


Revision 1410 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Fri Jun 21 15:48:19 2013 UTC (11 years, 8 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20682 byte(s)
Diff to previous 1400
Rename the functions for unbuffered file access to make this clear.


Revision 1400 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Wed Jun 19 17:25:52 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20662 byte(s)
Diff to previous 1398
Bug fix for the change to the --logtime option functions.


Revision 1398 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Mon Jun 17 17:31:39 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20684 byte(s)
Diff to previous 1366
Change the --logtime internals so that programs don't need to store their start
time themselves.


Revision 1366 - (view) (download) (as text) (annotate) - [select for diffs]
Modified Sat Jun 1 18:29:57 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20866 byte(s)
Diff to previous 1362
Fix minor error with usage message.


Revision 1362 - (view) (download) (as text) (annotate) - [select for diffs]
Added Sat Jun 1 11:10:24 2013 UTC (11 years, 9 months ago) by amb
Original Path: trunk/src/planetsplitter.c
File length: 20866 byte(s)
Diff to previous 1359
Make the functions for processing error logs more like the ones for nodes, ways
and relations.



This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a