Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

Re: [ic] [if scratch...]



Very little compared to doing a bunch of if's inside a loop. But, each
interpolation does take resources.

Incidentally, even to do what you were trying to do, should you
restructure it in a way to make it work, would require two
interpolations since you were trying to compare the values of two
scratch variables: the [if..] interpolation, and the "[scratch count1]"
interpolation.

Dan B wrote:
> 
> What is the performance difference between an explicit if (with [calc]) and
> a regular [if]?  (Assuming we are concerned about [if]'s inside
> [loop]'s)?  Is there no difference if they are doing the same thing?
> 

-- 
Mark Johnson
Senior Developer - Professional Services
Red Hat, Inc.
E-Business Solutions
markj@redhat.com
703-456-2912

_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: