[sldev] Optimization via _set_sbh_threshold

Nicholaz Beresford nicholaz at blueflash.cc
Wed Jun 13 04:04:07 PDT 2007


Dirk,

 > read this: http://msdn2.microsoft.com/En-US/library/aa366750.aspx
 >
 > As you can see the LFH covers this as it has 48 buckets of 128 for the
 > sizes upto 512.
 >
 > The drawback of their decision to deprecate SBH is mostly that while
 > SBH was a default in the past LFH is not. As a result the base
 > performance has suddenly dropped for certain types of applications (if
 > not all :) ) and you need to salvage that. As it's easier to find info
 > on SBH than LFH many people still use it but it's not the future and I
 > guess at some point it'll even disappear.


I'm still not sure I understand the difference between the two, but
this link below has two methods of speeding up things

http://www.amanjit-gill.de/articles/vc7_stl.html

and did not understand why there were two different ways
of doing this.

I'll dig a bit deeper along those lines.

Thanks!



Nick





More information about the SLDev mailing list