in reply to Re^8: Some code optimization
in thread Some code optimization
Another minor detail: in your inline version, you do two hash lookups for the value of $zone_o->{_chromosome_length} whereas the function call version does only one lookup. If you change the inline version to assign that value to a "my" variable, and use that variable twice (just like it was used twice in the function call), you'll see a reduction of a few sec -- i.e. the improvement over the function call will be more evident.
Now, get back to the part that really matters.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^10: Some code optimization
by roibrodo (Sexton) on Jun 18, 2010 at 12:12 UTC |