Hi Alex,
Putting a function definition in a class definition, or declaring it with
the 'inline' keyword, is a suggestion to the implementation (which the
implementation could choose to ignore).

The historical reason for INLINE in the V8 codebase is that experimentation
indicated that gcc did not inline as aggressively as expected.  Thus, INLINE
is generally used only after we've verified that 'inline' alone doesn't do
what we want.

It isn't actually used intensively (I count 51 uses of INLINE in headers,
vs. 886 uses of 'inline' and I didn't even try to count functions defined in
class definitions without INLINE).

--~--~---------~--~----~------------~-------~--~----~
v8-users mailing list
[email protected]
http://groups.google.com/group/v8-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to