Ops Review

Geoffrey Broadwell geoff at broadwell.org
Tue Jan 20 20:58:19 UTC 2009


On Tue, 2009-01-20 at 13:15 -0600, Patrick R. Michaud wrote:
> On Mon, Jan 19, 2009 at 01:09:14PM -0800, chromatic wrote:
> > 	time* (make into a Time object with methods?)
> The only items that I use here are trace, getstd*,
> and time.

One somewhat non-obvious point here -- as the primitive operation for
profiling, retrieving the current time with high resolution should be as
fast an operation as possible.  In addition, it should preferably take
near-constant time, so care should be taken to avoid any operations that
may vary in run time.

My assumption was that the fastest possible thing in PIR was a JITable
op -- is that not still the case?


-'f




More information about the parrot-dev mailing list