Skip to content

improving compile times #292

@yakra

Description

@yakra
for o in $(find . -name \*.o); do
  rm $o;
  printf "%s\t$o\n" $(2>&1 time -f %e make $o > /dev/null);
done

fmt (mostly)

  • Redundancy in tmg edge line computation #286
  • Comment out HGEdge::intermediate_point_string()
  • maybe use snprintf for low-impact functions?
    • GraphListEntry::tag()
    • ElapsedTime::et()
  • HighwayGraph.cpp
    • Separate out ST/MT, fmt bits
    • Create HGVertex::tmg_line?
  • Route::write_nmp_merged(): combine adjacent calls into one?
  • read_wpt.cpp
    move fmt functionality out:
    • Datacheck::add_long_segment
    • Datacheck::add_sharp_angle
  • Waypoint::nmplogs: combine adjacent calls into one?
  • WaypointQuadtree.cpp
    • Separate out ST/MT, fmt bits
    • Datacheck::add_duplicate_coords
    • confirm WaypointQuadtree::str() usused; comment out
  • allbyregionactive*
    • lose the ifdef
    • combine into one function via pointer-to-member?
  • sql_file:
    • an "sqleton" to handle the ST/MT printouts, calling functions for each table
    • compile table functions separately to minimize dependencies?
      OTOH, this may be outweighed by the overhead of fmt. fmt & non-fmt translation units?
  • rdstats: lol combine adjacent calls?

ST/MT

TBD. Haven't looked into this much yet.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions