[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: [Benchmark] Chain calls
- From: "Alexander Gladysh" <agladysh@...>
- Date: Tue, 25 Nov 2008 21:59:43 +0300
On Tue, Nov 25, 2008 at 9:54 PM, KHMan <firstname.lastname@example.org> wrote:
> Wim Couwenberg wrote:
>>> I just think that chain()()()()()() is not real-world,
>> It is, like it or not, a very common idiom in the boost "assign"
>> library for C++. Chains of tens of calls are no exception. It is
>> interesting (and surprising) to see what code it generates...
> Thanks for the info, I got boost downloaded somewhere and I'll go study it.
> Guess I haven't seen too many lines of C++.
> Anyway, for those who want to look:
> Given the above search string, there were no valid examples for C, a few for
I meant chaining function calls with arguments of course. I just
excluded arguments from the benchmark for brevity. I apologize for the
confusion. Next time I'd try to come up with some motivation for the
benchmarks I post.