Re: Tclkit vs Tclkit Lite VFS performance
Jean-Claude Wippler <[email protected]>
| Newsgroups | gmane.comp.lang.tcl.starkit |
|---|---|
| Message-ID | <[email protected]> |
To follow-up ...
> Maybe this is a shimmering problem between 8.5 and vlerq.
It is indeed. When I change this:
foreach {n s d c} [eval [linsert $tag end *]] break
to this
foreach {n s d c} [{*}$tag *] break
... then the timings become normal again (the remaining slowdown
w.r.t. mk4vfs is no doubt due to the different logic, I may add
caching back in at some point). There are a few more cases in the
mkclvfs code where eval needs to be replaced, but the above takes
care of stat.
So *something* in eval is shimmering, even though its argument is a
pure list.
The big question is: why does this turn up *only* on Windows (and
only in 8.5) ?
-jcw