in reply to Re^2: Accessors in xs
in thread Accessors in xs

If you think your overhead is in method calls, check to see that you're not doing anything which invalidates the method cache:

Since you're using XS already, you may want to write a short function to instrument PL_sub_generation to see if its changing. Anytime it increments, your cache is invalidated.


New as of 5.9.4, this function is B::sub_generation