Skip to content

Instantly share code, notes, and snippets.

@rdb
Created December 12, 2013 17:46
Show Gist options
  • Save rdb/7932252 to your computer and use it in GitHub Desktop.
Save rdb/7932252 to your computer and use it in GitHub Desktop.
comparison between macro-composites and compiling the files individually
$ composite_files=`cat p3dtoolbase_composite1.cxx | cut -d '"' -f 2`
$ time g++ -c $composite_files -I../../../build/dtool/ -I/usr/include/python2.7
real 0m4.643s
user 0m4.151s
sys 0m0.477s
$ time g++ -c p3dtoolbase_composite1.cxx -I../../../build/dtool/ -I/usr/include/python2.7
real 0m0.848s
user 0m0.776s
sys 0m0.070s
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment