"Bronek Kozicki" <br**@spamcop.netwrote in message
news:OQ**************@TK2MSFTNGP05.phx.gbl...
Egbert Nierop (MVP for IIS) <eg***********@nospam.invalidwrote:
>Boost BSTR performance by 3000%
http://technolog.nl/eprogrammer/arch...7/25/1009.aspx
anyone willing to rewrite _bstr_t ? ;)
That would be a hard task :<
I've been looking into the source, and that one looks much more dependent on
tiny subroutines, while the member functions of CComBSTR are independently
written.
Whynot just use CComBSTR instead of _bstr_t ?
in addition, CComBSTR2 also has methods like CString has (formatting), so if
you manipulate strings (in/out or retval) you even do not have to cast to
CString and BSTR back, thus again improving scalability. I only would like
someone to improve Join and Split on the CComBSTR2 class. These functions
are really slow.