$include_dir="/home/hyper-archives/boost/include"; include("$include_dir/msg-header.inc") ?>
From: Alex Besogonov (cyberax_at_[hidden])
Date: 2006-01-14 13:11:27
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_at_[hidden])