I noticed that fileexists: is quite a bit faster than sibling.
Would it be possible to equip sibling: with the same turbo-engine as fileexists:?
sibling: vs. fileexists:
-
void
- Developer
- Posts: 19903
- Joined: Fri Oct 16, 2009 11:31 pm
Re: sibling: vs. fileexists:
sibling: does a partial search. (slow)
fileexists: does an exact lookup.
I have put on my TODO list to optimize sibling: when a simple filename lookup is specified.
Thank you for the suggestion.
fileexists: does an exact lookup.
I have put on my TODO list to optimize sibling: when a simple filename lookup is specified.
Thank you for the suggestion.
-
NotNull
- Posts: 5961
- Joined: Wed May 24, 2017 9:22 pm
Re: sibling: vs. fileexists:
Thanks!
(it has been a while, but I think fileexists:*text* was faster than sbling:text too. Not sure though..)
(it has been a while, but I think fileexists:*text* was faster than sbling:text too. Not sure though..)