Be sure to check the exact code that is running promises. I have my own promises code because some of the SRFI-45 versions worked and some didn't. I recall that moving from a 'standard' version to a faster 'optimized' version broke things; I don't recall the details, but the fix was to revert back to the earlier version. Be very careful -- I got that wrong more than once :(<br>
<br><div class="gmail_quote">On Feb 6, 2008 2:06 PM, Jos Koot <<a href="mailto:jos.koot@telefonica.net">jos.koot@telefonica.net</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>
<div><font face="Arial" size="2">Hi Eli,</font></div>
<div><font face="Arial" size="2">Good point. Agreed.</font></div>
<div><font face="Arial" size="2">I think srfi 45 as now implemented in PLT is about
as fast as my version.</font></div>
<div><font face="Arial" size="2">For the moment I'll import the current PLT version
of srfi 45 (if I recall correctly it is already provided by #lang
scheme and I don't even have to import it)</font></div>
<div><font face="Arial" size="2">I trust that the problem you and I refer to
will be fixed in due time (: last time I looked at the problem report as sent by
Phil, it was not yet closed (: dont take that as a criticism, I know there
are more things to do ::))</font></div>
<div><font face="Arial" size="2">Thanks to </font><font face="Arial" size="2">Chongkai
and you and all of PLT for the opportunity to contribute. I like
that.</font></div>
<div><font face="Arial" size="2">Jos</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">----- Original Message ----- </font>
<div><font face="Arial" size="2">From: "Eli Barzilay" <</font><a href="mailto:eli@barzilay.org" target="_blank"><font face="Arial" size="2">eli@barzilay.org</font></a><font face="Arial" size="2">></font></div>
<div><font face="Arial" size="2">To: "Jos Koot" <</font><a href="mailto:jos.koot@telefonica.net" target="_blank"><font face="Arial" size="2">jos.koot@telefonica.net</font></a><font face="Arial" size="2">></font></div>
<div><font face="Arial" size="2">Sent: Wednesday, February 06, 2008 8:22
PM</font></div>
<div><font face="Arial" size="2">Subject: Re: [plt-scheme] SRFI
41</font></div></div>
<div><font face="Arial"><br><font size="2"></font></font></div><font face="Arial" size="2">> BTW, if you get to do that, it would be good to avoid duplicated
code<br>> as much as possible. The main thing that I'm thinking of is
the<br>> promise implementation -- IIRC, Phil carries his own version of
srfi<br>> 45, which is not needed in PLT v4, since that became the<br>>
implementation for all core promises.<br>> <br>> (Modulo the problem that
IIRC you pointed at not too long ago -- but<br>> even with that, it's better
to invest resources in fixing and using<br>> the core package then duplicate
it.)<br>> -- <br>>
((lambda (x) (x x)) (lambda (x) (x
x))) Eli
Barzilay:<br>>
</font><a href="http://www.barzilay.org/" target="_blank"><font face="Arial" size="2">http://www.barzilay.org/</font></a><font face="Arial" size="2">
Maze is Life!<br>></font></div>
</blockquote></div><br>