author | Florian Forster <ff@octo.it> | |
Wed, 7 Jul 2010 14:00:11 +0000 (16:00 +0200) | ||
committer | Florian Forster <octo@leeloo.lan.home.verplant.org> | |
Wed, 7 Jul 2010 14:00:11 +0000 (16:00 +0200) | ||
commit | 3ba1ec553cbd4ea7a008e32c7f816b0294dbe860 | |
tree | 782d6653c15e23afe7c20019daac37f4628a6620 | tree | snapshot |
parent | 5dd3410614f199791a773e82bc4236c6ea6e7e5c | commit | diff |
src/graph_list.c: Add dynamically generated graphs to an extra list.
Profiling has shown that the majority of time is spent looking for a matching
graph in "gl_active" in the "gl_register_file" function. By adding dynamically
generated graphs (which will only ever match one file) to an extra list,
start-up time is decreased *a lot*.
Profiling has shown that the majority of time is spent looking for a matching
graph in "gl_active" in the "gl_register_file" function. By adding dynamically
generated graphs (which will only ever match one file) to an extra list,
start-up time is decreased *a lot*.
src/graph_list.c | diff | blob | history |