Memory bandwidth alternatives
| short name | commit | parent | diff | description / comments |
|---|
| TMGi | bfe86f0 | fc400d9 | fixed | reduce string copies when writing graphs (inline) Components written directly to file by HighwayGraph::write_*graphs_tmg instead of concatenating into a long std::string
*_tmg_line functions eliminated completely |
| TMGf | 950400c | fc400d9 | OK | reduce string copies when writing graphs (function) Components written directly to file by HighwayGraph::write_*graphs_tmg instead of concatenating into a long std::string
*_tmg_line functions retained |
| TMGf2 | 54e5a7d | TMGf | OK | allocate fstr once and pass, rather than reallocate thousands of times |
| TMGf3 | f93ed18 | TMGf2 | fixed | edge labels: instead of std::string construction & copying, just insert its components into the ofstream |
CPU time alternatives
| short name | commit | parent | diff | description / comments |
|---|
| v | ToDo | f181bf5 | | sets -> lists & bools: vertices |
| e | bb4e450 | f181bf5 | OK | sets -> lists & bools: edges (shortname formerly hge) |
| t | ToDo | f181bf5 | | sets -> lists & bools: travelers |
| ve | 22cf13b | 1c204a8 rebase? | OK | sets -> lists & bools: vertices, edges (shortname formerly mv) |
| vt | ToDo | f181bf5 | | sets -> lists & bools: vertices, travelers |
| et | ToDo | f181bf5 | | sets -> lists & bools: edges, travelers |
| vet | 77af90e | 22cf13b | OK | sets -> lists & bools: vertices, edges, travelers (shortname formerly mt) |
Rubbish bin (epoch unless otherwise noted)
old TMGi was 9cdc37d
old TMGf3 was 9bcee48
old TMGr was 48797e1: old TMGf3 (9bcee48) rebased onto vet (77af90e)
TMGi bugfix (0993a1b on epoch) squashed
TMGf3 bugfix (e73a1bf on epoch) squashed
TMGr bugfix (c1d7eaf on epoch) squashed
etF: cherrypick e before rebasing onto TMGf.squashed: df4567a
etF before interactive rebase (2nd cherrypicked copy of unused verte3x vars removal): 6038cf3
Python attempt at 90edd7a on BiggaTomato. Very little difference (~2.3s?), probably just noise. Going no-build.
Mix & Match
cd ytm/DataProcessing/siteupdate/cplusplus/
git fetch
git checkout c200686; make siteupdate; mv siteupdate siteupdate_v
git checkout 7a67ce4; make siteupdate; mv siteupdate siteupdate_t
git checkout e3e708e; make siteupdate; mv siteupdate siteupdate_vt
git checkout a08dd6c; make siteupdate; mv siteupdate siteupdate_et
git checkout 3b94f38; make siteupdate; mv siteupdate siteupdate_vF3
git checkout f5fb4c1; make siteupdate; mv siteupdate siteupdate_tF3
git checkout 94130de; make siteupdate; mv siteupdate siteupdate_vtF3
git checkout 9f33c1a; make siteupdate; mv siteupdate siteupdate_etF3
# _v _t _vt _et _vF3 _tF3 _vtF3 _etF3
Memory bandwidth alternatives
Components written directly to file by
HighwayGraph::write_*graphs_tmginstead of concatenating into a longstd::string*_tmg_linefunctions eliminated completelyComponents written directly to file by
HighwayGraph::write_*graphs_tmginstead of concatenating into a longstd::string*_tmg_linefunctions retainedfstronce and pass, rather than reallocate thousands of timesstd::stringconstruction & copying, just insert its components into the ofstreamCPU time alternatives
(shortname formerly hge)
rebase?
(shortname formerly mv)
(shortname formerly mt)
Rubbish bin (epoch unless otherwise noted)
old TMGi was
9cdc37dold TMGf3 was
9bcee48old TMGr was 48797e1: old TMGf3 (
9bcee48) rebased onto vet (77af90e)TMGi bugfix (
0993a1bon epoch) squashedTMGf3 bugfix (
e73a1bfon epoch) squashedTMGr bugfix (
c1d7eafon epoch) squashedetF: cherrypick e before rebasing onto TMGf.squashed:
df4567aetF before interactive rebase (2nd cherrypicked copy of unused verte3x vars removal): 6038cf3
Python attempt at
90edd7aon BiggaTomato. Very little difference (~2.3s?), probably just noise. Going no-build.Mix & Match