commit | e337e60a50f3de8bb04b91b1233ff60377a9c944 | [log] [tgz] |
---|---|---|
author | Brad King <brad.king@kitware.com> | Mon Jul 29 10:25:27 2019 -0400 |
committer | Brad King <brad.king@kitware.com> | Tue Jul 30 10:01:49 2019 -0400 |
tree | 2de5094f2f25001db6559e2e9be48da62a0415e4 | |
parent | d89c0ecf79a791c0b5ffff9fbb59e8720ee88950 [diff] |
fileapi: Compute codemodel compile groups before converting to Json Previously we converted the description of each source file into its compile group Json object and then used the Json object itself as a unique identifier for the group. When source files have large descriptions their Json objects make inefficient map keys requiring deep comparison operations. Instead use our internal `CompileData` structure as a map key. This enables use of a hash map. Issue: #19520