incubator-esme-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Richard Hirsch <hirsch.d...@gmail.com>
Subject Re: Wee error
Date Wed, 27 Jan 2010 11:02:37 GMT
On Wed, Jan 27, 2010 at 11:57 AM, Vassil Dichev <vdichev@apache.org> wrote:

> I thought initially that this is some sort of infinite loop, but it seems
> not.
>
> The specs I suspected are "AddAction" and "AddActionNeg". Each one of
> these contains a monstrous for comprehension. If I delete a couple of
> lines from these, it works even without tuning the stack size.
>
> I think this is unnecessarily pushing the limits of the compiler. In
> the first part of the for comprehensions every line depends on the
> previous, so the compiler has to check every new line in the context
> of new variables bound by the previous lines.
>
> I don't think every new test line depends on the others, right?
> Probably this is the case for login and pools, but otherwise the
> compile will be unnecessarily slow, even when it manages to build.
>
> Can we refactor the test based on actual dependencies in the execution
> of API calls?


Of course. Probably easier to have multiple small tests rather than one
large test. You can probably comment the two tests and I'll break it down
into smaller tests later.


>
> Vassil
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message