John Tobey <[EMAIL PROTECTED]> writes: >Dan Sugalski <[EMAIL PROTECTED]> wrote: >> Bad assumption. How often is av_fill called? > >Only once in av_fill.c (generated by allfuncs.pl). In most other >places, it's called as i_av_fill(). That sounds like a pre-judgement that inline form is prefered ;-) But actually most places (I looked when doing TIEARAY) perl itself calls nether it uses AvFILL() macro instead. We could do with some gprof data - if one of the calls happens zillons of times dynamically then it may be worth inlining. But if there are lots of calls which only happen rarely we may as well save the code space. -- Nick Ing-Simmons
- Re: inline mania Dan Sugalski
- Re: inline mania John Tobey
- Re: inline mania Dan Sugalski
- Re: inline mania John Tobey
- Re: inline mania Dan Sugalski
- Re: inline mania John Tobey
- Re: inline mania Dan Sugalski
- Re: inline mania John Tobey
- Re: inline mania John Tobey
- Re: inline mania Dan Sugalski
- Re: inline mania Nick Ing-Simmons
- Re: inline mania John Tobey
- Re: inline mania Nick Ing-Simmons
- performance of inlined code (was Re: inline mania) John Tobey
- Re: inline mania Nick Ing-Simmons
- Re: inline mania John Tobey
- Re: inline mania Dan Sugalski
- Re: inline mania John Tobey
- Re: inline mania Dan Sugalski
- Re: inline mania John Tobey
- Re: inline mania Dan Sugalski