[ic] Iterations slow with mv_matchlimit incrementations

David Christensen david at endpoint.com
Mon May 11 21:24:26 UTC 2009

On May 11, 2009, at 4:08 PM, Grant wrote:

>> I have a somewhat complex chunk of IC code about 500 lines long.   
>> If I
>> set the mv_matchlimit of the main loop to a small number, each
>> iteration takes less than a second to execute.  However, as I  
>> increase
>> the mv_matchlimit, each iteration takes longer to execute until it's
>> quite slow.  I've been over my code again and again but I can't  
>> find a
>> cause for this behavior.  The only clue I have is that each iteration
>> executes much faster when the loop is almost done with all of its
>> iterations.
>> I'm wondering if the problem is "under the hood" of IC.  Does this
>> scenario ring a bell for anyone?
>> Thanks,
>> Grant
> I'm baffled by this.  I have no idea why increasing mv_matchlimit
> would drastically increase the amount of time required for *each* loop
> iteration.  Please let me know if you have any ideas.

Is there any way you can post the relevant piece of code?  Without  
knowing what's being iterated over, it's hard to offer suggestions.   
In particular, are there any parts which are perl blocks of any  
particular flavor (calc, calcn, perl, prefix-exec, etc)?  Are there  
perhaps multiple nested loop constructs?


David Christensen
End Point Corporation
david at endpoint.com

More information about the interchange-users mailing list