Kevin, Stephen,

Thanks a lot for your answers!
It is all clear about INLINE() macro that asks compiler to perform
more agressive inlining.

Looks like this was quite a task - to find all the bottlenecks in code
that is not optimized enough for some target platform.
You guys really rock :)

2009/10/2 Kevin Millikin <[email protected]>:
> 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).
> >
>



-- 
Best regards,
    Alexander Shabanov

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

Reply via email to