Re: unexpected speedup by manual inlining

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



* Rohit Garg:

> I didn't know where to start. So I manually inlined these functions.
> They are very small and quite trivial. The program now shows ~60x
> speed-up in that part of the code. I have no idea what's the cause of
> this dramatic speed up.

Manual inlining avoids copy constructor calls.  The effect of that can
be quite noticeable.

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux