Re: Importing MFC resources
- From: "Mihai N." <nmihai_year_2000@xxxxxxxxx>
- Date: Sat, 29 Sep 2007 00:56:51 -0700
Strings are stored 16 strings to a block, so the way a block is computedExactly.
is to take the
index / 16, then find elements in the block based on the index % 16.
Which means that in fact you spend less than 16 bits per string.
Imagine having a string Id for each string.
This might not be relevant these days, but at the time when it was
designed was important.
The speed/size limitations are not that important now, but I
still don't see any major advantage with using a string ID.
--
Mihai Nita [Microsoft MVP, Windows - SDK]
http://www.mihai-nita.net
------------------------------------------
Replace _year_ with _ to get the real email
.
- References:
- Importing MFC resources
- From: Pat
- Re: Importing MFC resources
- From: Joseph M . Newcomer
- Re: Importing MFC resources
- From: Ian Semmel
- Re: Importing MFC resources
- From: David Ching
- Re: Importing MFC resources
- From: Joseph M . Newcomer
- Re: Importing MFC resources
- From: David Ching
- Re: Importing MFC resources
- From: Mihai N.
- Re: Importing MFC resources
- From: David Ching
- Re: Importing MFC resources
- From: Mihai N.
- Re: Importing MFC resources
- From: Joseph M . Newcomer
- Re: Importing MFC resources
- From: Mihai N.
- Re: Importing MFC resources
- From: Joseph M . Newcomer
- Importing MFC resources
- Prev by Date: Re: Importing MFC resources
- Next by Date: Re: how to differentiate a single click from a double click in CTreeviewCtrl
- Previous by thread: Re: Importing MFC resources
- Next by thread: Re: Importing MFC resources
- Index(es):
Relevant Pages
|