Perl inline function

Discussion in 'Perl Misc' started by howa, Jan 10, 2007.

  1. howa

    howa Guest

    are there inline function or macro for Perl, so function's performance
    can be optimized for speed?

    thanks.
    howa, Jan 10, 2007
    #1
    1. Advertising

  2. howa

    Mirco Wahab Guest

    Mirco Wahab, Jan 10, 2007
    #2
    1. Advertising

  3. On 01/10/2007 04:24 AM, howa wrote:
    > are there inline function or macro for Perl, so function's performance
    > can be optimized for speed?
    >
    > thanks.
    >


    Read "perldoc perlsub"
    Mumia W. (on aioe), Jan 10, 2007
    #3
  4. howa

    Uri Guttman Guest

    >>>>> "h" == howa <> writes:

    h> are there inline function or macro for Perl, so function's performance
    h> can be optimized for speed?

    if sub calling overhead is a real problem then you should not code in
    perl. this is likely a case of premature optimization. you will likely
    get much better preformance by choosing a better algorithm, data
    structure or design. but without code or a reason for this speedup
    request there is no way to assist you.

    uri

    --
    Uri Guttman ------ -------- http://www.stemsystems.com
    --Perl Consulting, Stem Development, Systems Architecture, Design and Coding-
    Search or Offer Perl Jobs ---------------------------- http://jobs.perl.org
    Uri Guttman, Jan 10, 2007
    #4
    1. Advertising

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

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Abhi
    Replies:
    2
    Views:
    734
    E. Robert Tisdale
    Jul 3, 2003
  2. Nish
    Replies:
    4
    Views:
    484
    Thomas Stegen
    Oct 8, 2004
  3. TGOS
    Replies:
    3
    Views:
    375
    Kevin Bracey
    Feb 28, 2005
  4. Ajay
    Replies:
    5
    Views:
    384
    Pete Becker
    Apr 1, 2006
  5. Replies:
    7
    Views:
    441
Loading...

Share This Page