Reply to post: Re: Sounds like a good idea

Keen to go _ExtInt? LLVM Clang compiler adds support for custom width integers

Anonymous Coward
Anonymous Coward

Re: Sounds like a good idea

Actually the exact opposite. Not using a natural size integer for your platform can slow things down as the compiler may have to generate extra code to keep it in bounds of the reduced size.

So for say a 30bit integer the compiler might have to keep masking off the top 2 bits on a 32bit system.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon

Biting the hand that feeds IT © 1998–2021