On Sun, Jul 25, 2010 at 12:48 AM, Faré <span dir="ltr"><<a href="mailto:fahree@gmail.com">fahree@gmail.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

I don't see what probe-file does that's different from (ignore-errors<br>
(truename ...)),<br></blockquote><div><br>I explained it in the previous email. Determining whether a file exists has a very very small cost, just a call to fstat() or whatever equivalent function the Common Lisp provides. Say this has a cost 1. This is followed by a call to TRUENAME which has a cost N, proportional to the length of components in the directory part of the pathname, but this cost only applies when the file exists. This is relevant for ASDF because 80% of the calls to TRUENAME may happen with non-existent paths.<br>

<br></div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Can you test/review the following patch based on yours? I intend to<br>
make it into ASDF 2.112.<br></blockquote></div><br>Seems to work just fine.<br><br>Juanjo<br clear="all"><br>-- <br>Instituto de Física Fundamental, CSIC<br>c/ Serrano, 113b, Madrid 28006 (Spain) <br><a href="http://juanjose.garciaripoll.googlepages.com">http://juanjose.garciaripoll.googlepages.com</a><br>