]> gitweb.factorcode.org Git - factor.git/commit
vocabs.hierarchy: faster all-disk-vocabs-recursive.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 9 Feb 2020 17:04:14 +0000 (09:04 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 9 Feb 2020 17:04:14 +0000 (09:04 -0800)
commit1a1ee4b4a84f60d881c16728a6d7b43cd8e8d2ed
tree1391aa780ac64132cad5ee56d93871b202a0818b
parentb430f8e0a7751e77565b9a4ef2a2913e817a1966
vocabs.hierarchy: faster all-disk-vocabs-recursive.

The old technique caused a high amount of redundant ``exists?`` checks,
even though we are traversing the directory tree.  That happens to be a
little slow on Windows, for some pathological reason, the first time
it's run. This should make it better while we also investigate why
``windows_stat`` is slower in that case.
basis/vocabs/hierarchy/hierarchy.factor