Files
kotlin-fork/compiler/util-io
Dave MacLachlan 722ddc9f91 Use fileKey instead of canonicalPath when deduping files
`resolveDependencies` showed up as a hotspot when profiling due to `canonicalPath` doing a lot of file system calls.
`fileKey` is more efficient and should guarantee uniqueness (`canonicalPath` may fail in the case of hardlinks).
The new code is 3x faster in our use case.
2023-11-01 13:59:13 +00:00
..