[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: D pointers
From:       Thiago Macieira <thiago () kde ! org>
Date:       2005-10-03 11:27:32
Message-ID: 200510030827.32491.thiago () kde ! org
[Download RAW message or body]


Alexander Neundorf wrote:
>> Besides that it probably doesn't hurt for integers and other primitive
>> types, but if you have more complex types you still waste constructor
>> and destructor time on them even if they're unused.
>
>They could be replaced with simple types of the same size.

You forgot:
"and the same padding and alignment constraints in all platforms"

So, no, don't try that for complex types.

-- 
  Thiago Macieira  -  thiago (AT) macieira.info - thiago (AT) kde.org
    PGP/GPG: 0x6EF45358; fingerprint:
    E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358

3. Ac seo woruld wearð geborod, swá se Scieppend cwæð "Gewurde Unix" and 
wundor fremede and him "Unix" genemned, þæt is se rihtendgesamnung.

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic