[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: ... efficiency (was Re: class implementation)
- From: Mark Hamburg <mhamburg@...>
- Date: Wed, 05 Apr 2006 17:40:40 -0800
Performance with ... Is a mixed bag.
Mike is correct that introducing the iterator function -- even as useful as
it is -- brings in memory allocation costs and hence is a lose for small
numbers of arguments.
My concern is that the standard idioms for iterating over varargs have
essentially quadratic time complexity and that's basically a problem waiting