Optimise S_mro_get_linear_isa_dfs() when dealing with the first parent class.
authorNicholas Clark <nick@ccl4.org>
Thu, 20 Aug 2009 15:02:40 +0000 (16:02 +0100)
committerNicholas Clark <nick@ccl4.org>
Thu, 20 Aug 2009 15:02:40 +0000 (16:02 +0100)
commit73519bd01829f1480c288a0a7ccbfff973d867df
tree9bb2fedb609f7bb8f0ce0ad2da40cff96cd2f408
parentc3acb9e0760135dfd888c0ee1b415777d784aabc
Optimise S_mro_get_linear_isa_dfs() when dealing with the first parent class.

Benchmarking with single inheritance suggests that this is 10% faster.
MANIFEST
mro.c
t/mro/isa_dfs.t [new file with mode: 0644]