
14 Jan
2006
14 Jan
'06
6:11 p.m.
Peter Dimov wrote:
Anyway, I committed a storage optimization to the CVS. <crosses fingers> Whoa! That's fast: ================================ C:\temp\delegates>test.exe Time elapsed for FastDelegate: 0.560000 (sec) Time elapsed for simple bind: 0.411000 (sec) Time elapsed for bind+function: 1.983000 (sec) Time elapsed for pure function invocation: 0.781000 (sec) ================================ bind+function<> is now just 4 times slower than the best possible case.
BTW, why not add FastDelegate (it's in public domain) to bind+function<> as a special case for optimization? -- With respect, Alex Besogonov (cyberax@elewise.com)