Open ilumsden opened 8 months ago
You can cache the result of the first realpath()
call as it translates the dyad managed path to real path.
The second one is there for correctness. You cannot omit that.
We also have to switch strcmp to prefix tree for faster comparison.
PR #89
While evaluating DYAD with the workflow benchmark, we found that
cmp_canonical_path_prefix
had a surprisingly large cost in terms of time. Some fixes, as suggested by @hariharan-devarajan, are:realpath