Re: Stack Walk Speedups?

2002-08-17 Thread Peter Gibbs
Jason Gloudon wrote: > The configure-time-stack-growth-direction patch makes these #define'd constants, > so you get the same speedup. Do you also have a patch to determine the minimum stack increment? The IA32 architecture, for example, has no restrictions on pointer alignment (and hence PARROT

Re: Stack Walk Speedups?

2002-08-17 Thread Jason Gloudon
On Sat, Aug 17, 2002 at 10:23:32PM +0200, Peter Gibbs wrote: > If you want to get some improvement at the cost of some duplicated > code, you can remove the * direction logic, and write two copies of the > loop. (patch attached, but not fully tested) > I'm sure there is more that can be done, b

Re: Stack Walk Speedups?

2002-08-17 Thread Peter Gibbs
Mike Lambert wrote: > As Peter has pointed out, our stackwalk code is rather slow. > Anyone feeling adventuresome and want to attempt to speed this up? If you want to get some improvement at the cost of some duplicated code, you can remove the * direction logic, and write two copies of the loo

Stack Walk Speedups?

2002-08-17 Thread Mike Lambert
As Peter has pointed out, our stackwalk code is rather slow. The code that's in there was my first-attempt at the need for stack walking code. There's one optimization in place, but the algorithm behind the optimization could use some work. Basically, it finds the min and max values of all heade