Re: Profiling and "do" iterations

From: Joachim Schimpf <j.schimpf_at_icparc.ic.ac.uk>
Date: Thu 22 May 2003 07:03:08 PM GMT
Message-ID: <3ECD1EEC.D9A56A63@icparc.ic.ac.uk>
"Franz J Müller" wrote:
> 
> Hello,
> 
> I find  profile(<call>)  convenient to understand where time is spent.  I also like the iteration constructs (fromto, etc).  The problem is in combining both: a compiled iteration shows
> up as "do__nn" and I can't easily trace this back to its source definition.  Similarly when debugging..
> 
> Any hints?  It would be convenient for instance
> if one could prescribe the predicate name:
> (foreach(A, List), predname(list_iterator) do ..).


Release 5.6 (in 2 weeks, prerelease already on ftp site) has
this feature, it's called loop_name.


-- 
 Joachim Schimpf              /             phone: +44 20 7594 8187
 IC-Parc                     /      mailto:J.Schimpf@imperial.ac.uk
 Imperial College London    /    http://www.icparc.ic.ac.uk/eclipse
Received on Thu May 22 20:03:09 2003

This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:22 PM GMT GMT