static inline functions and gcc

R

Richard Bos

Malcolm McLean said:
The central problem is that in code such as

for(i=0;i<Nemployees;i++)

the compiler has no way of knowing whether Nemployees is likely to be zero,
one, a few, a few hundred, or 2 billion, 4 billion assuming Nemployees is a
size_t.

Except, I presume, when that size_t is 64 bits large?

Richard
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,780
Messages
2,569,608
Members
45,250
Latest member
Charlesreero

Latest Threads

Top