1

Topic: Fast delegates, who, what, ?

Greetings!  a heap of the code by a subject to re-read/testit - it is a pity to time. From requirements... Well, that was faster std:: function <> and that was able almost everything that is able std:: function <>. Well, i.e., that it was able to be anchored to functions, to lambdas, to  to function objects and that are produced at usage boost:: bind ()/std:: bind () thanks.

2

Re: Fast delegates, who, what, ?

And still a question: why standard implementation so slow? (About dynamic selection of storage - I know) and why it such what is implemented? Hardly simply because of laziness/nonsense of implementors.

3

Re: Fast delegates, who, what, ?

Hello, niXman, you wrote: X> and still a question: why standard implementation so slow? Slow in comparison with what? X> (about dynamic selection of storage - I know) and why it such what is implemented? What such? There it is normal inside small object optimization sits, which does not use dynamic selection for small function object.

4

Re: Fast delegates, who, what, ?

Hello, Evgeny. Panasyuk, you wrote: EP> Slow in comparison with what? In comparison with alternative implementations. X>> (about dynamic selection of storage - I know) and why it such what is implemented? EP> what such? X> what it is implemented EP> There normally inside small object optimization sits, which does not use dynamic selection for small function object. Well , I did not understand with it...

5

Re: Fast delegates, who, what, ?

Hello, niXman, you wrote: X> from requirements... Well, that was faster std:: function <> and that was able almost everything that is able std:: function <>. Well, i.e., that it was able to be anchored to functions, to lambdas, to  to function objects and that are produced at usage boost:: bind ()/std:: bind () Judging by results of measurements https://github.com/jamboree/CxxFunctionBenchmark std:: function actually it is not too bad.

6

Re: Fast delegates, who, what, ?

Hello, PM, you wrote: PM> Judging by results of measurements https://github.com/jamboree/CxxFunctionBenchmark std:: function actually it is not too bad. Similar, for the last three-four years something in this direction was refined. Thanks, a question it is closed.