diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2021-08-09 10:48:19 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2021-08-09 10:48:19 +0200 |
commit | be30decf3f777786a44b12920ac2d273b1c8d1f8 (patch) | |
tree | 12387f284a822fa1aa0e09ecfbdea8e24405d8c8 /libbuild2/cc/compile-rule.cxx | |
parent | eaeeb079c1715b5b0ecc0b20bd4e5f45d0655452 (diff) |
Merge library hashing and collection into single traversal pass
It turns out this is a lot faster on deeply-dependent libraries like Boost
while not having any noticeable differences for "sane" projects.
Diffstat (limited to 'libbuild2/cc/compile-rule.cxx')
-rw-r--r-- | libbuild2/cc/compile-rule.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libbuild2/cc/compile-rule.cxx b/libbuild2/cc/compile-rule.cxx index b2fdba9..26ee566 100644 --- a/libbuild2/cc/compile-rule.cxx +++ b/libbuild2/cc/compile-rule.cxx @@ -6222,8 +6222,8 @@ namespace build2 // auto imp = [] (const target&, bool) { return false; }; - //@@ TODO: implement duplicate suppression and prunning? Reuse - // above machinery. + //@@ TODO: implement duplicate suppression and prunning? Reuse above + // machinery (do before is_a() call). // The same logic as in append_libraries(). // |