in reply to Re: Performance issues with subroutines/methods
in thread Performance issues with subroutines/methods

You can further exacerbate the costs, by using one of the many 'safe' object implementations that add another level or two of indirection to the object and method resolution chains. All the 'inside out object' implementations fall into this category.
I don't think the latter claim is quite correct. In fact, it appears that the handling of Object::InsideOut objects can be faster than legacy blessed hash handling. Cheers.
  • Comment on Re^2: Performance issues with subroutines/methods

Replies are listed 'Best First'.
Re^3: Performance issues with subroutines/methods
by BrowserUk (Patriarch) on Jun 19, 2007 at 07:15 UTC

    Array-based objects are faster than hash-based objects. You don't need to use a module to get array-based objects.

    I see the POD claims that its hashed-based objects are still faster than conventional hash-based objects. I'd like to see the benchmark.

    Given the amount of work this module is doing behind the covers, I would need to see the benchmark.

    And shareable between threads, that's a really clever trick.


    Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
    "Science is about questioning the status quo. Questioning authority".
    In the absence of evidence, opinion is indistinguishable from prejudice.