Click here to Skip to main content
15,914,820 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
GeneralRe: WTL ? Pin
puzzolino24-Oct-02 3:01
puzzolino24-Oct-02 3:01 
GeneralRe: WTL ? Pin
Paul M Watt24-Oct-02 5:09
mentorPaul M Watt24-Oct-02 5:09 
GeneralRe: WTL ? Pin
puzzolino24-Oct-02 5:30
puzzolino24-Oct-02 5:30 
Generalhash_map question Pin
User 988523-Oct-02 9:38
User 988523-Oct-02 9:38 
GeneralRe: hash_map question Pin
Tim Smith23-Oct-02 10:31
Tim Smith23-Oct-02 10:31 
GeneralRe: hash_map question Pin
User 988524-Oct-02 8:21
User 988524-Oct-02 8:21 
GeneralRe: hash_map question Pin
Tim Smith24-Oct-02 14:20
Tim Smith24-Oct-02 14:20 
GeneralRe: hash_map question Pin
Tim Smith24-Oct-02 14:29
Tim Smith24-Oct-02 14:29 
Oh, and depending on the application, letting the hash table grow too wide can be counter productive. In the case of my compiler where I needed to save the hash state often, the optimal size was 256. But for overall performance, given that the symbol table search wasn't taking up much time, a hash width of 32 worked just fine (and my hash chains were getting 70+ entries deep Eek! | :eek: ). I attribute the high performance to that simple length optimization in the key compare. The symbol table hardly ever made any false compares. (In fact, I think I will go add a counter to test just that.) Smile | :)

Tim Smith

I'm going to patent thought. I have yet to see any prior art.
GeneralRe: hash_map question Pin
Tim Smith24-Oct-02 14:41
Tim Smith24-Oct-02 14:41 
GeneralRe: hash_map question Pin
User 988525-Oct-02 1:56
User 988525-Oct-02 1:56 
GeneralRe: hash_map question Pin
Joao Vaz25-Oct-02 6:10
Joao Vaz25-Oct-02 6:10 
GeneralRe: hash_map question Pin
Tim Smith25-Oct-02 7:16
Tim Smith25-Oct-02 7:16 
GeneralRe: hash_map question Pin
Joao Vaz25-Oct-02 7:48
Joao Vaz25-Oct-02 7:48 
GeneralRe: hash_map question Pin
Tim Smith25-Oct-02 8:38
Tim Smith25-Oct-02 8:38 
GeneralRe: hash_map question Pin
Joao Vaz25-Oct-02 8:56
Joao Vaz25-Oct-02 8:56 
GeneralRe: hash_map question Pin
User 988530-Oct-02 13:39
User 988530-Oct-02 13:39 
GeneralRe: hash_map question Pin
Tim Smith30-Oct-02 14:49
Tim Smith30-Oct-02 14:49 
GeneralRe: hash_map question Pin
User 988530-Oct-02 16:09
User 988530-Oct-02 16:09 
Generalxstring info Pin
Senkwe Chanda23-Oct-02 0:38
Senkwe Chanda23-Oct-02 0:38 
GeneralRe: xstring info Pin
Senkwe Chanda23-Oct-02 1:35
Senkwe Chanda23-Oct-02 1:35 
GeneralRe: xstring info Pin
Tim Smith23-Oct-02 2:38
Tim Smith23-Oct-02 2:38 
GeneralRe: xstring info Pin
ian mariano29-Oct-02 3:04
ian mariano29-Oct-02 3:04 
GeneralCOM EXE is not inheriting PATH environment variable from the calling process Pin
ksgopi22-Oct-02 16:07
ksgopi22-Oct-02 16:07 
QuestionMFC's CObject and CObList equivalents in ATL? Pin
LukeV22-Oct-02 5:40
LukeV22-Oct-02 5:40 
AnswerRe: MFC's CObject and CObList equivalents in ATL? Pin
Anonymous24-Oct-02 6:27
Anonymous24-Oct-02 6:27 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.