[pypy-dev] [pypy-svn] pypy default: fixed test_circular

Hakan Ardo hakan at debian.org
Fri Apr 15 13:11:53 CEST 2011


OK, I also added a check on the guard count.

On Fri, Apr 15, 2011 at 11:55 AM, Antonio Cuni <anto.cuni at gmail.com> wrote:
> On 15/04/11 10:50, Hakan Ardo wrote:
>> Hi,
>> the point here is that we want max(a,b) to be turned into a single
>> guard while we dont want max(*range(300)) and max(range(300)) to blow
>> up into 300 guards, since that might lead to 2**300 different traces.
>> I'm not sure how to best test this...
>
> can't we just check that the loop contains a residual call to min_max_loop?
>



-- 
Håkan Ardö



More information about the Pypy-dev mailing list