16 Apr
2012
16 Apr
'12
4:07 p.m.
On Mon, Apr 16, 2012 at 07:12:30PM +0530, Ashish Chavan wrote:
Thanks for bearing with me Mark. But the only other way I can think is to make the *extra* info like master/slave and fs a part of array itself and then search through the array to get required divisors. In this case, every time I need to search through entire array to pick up correct divisors. Wouldn't that be inefficient, especially when the array indexes are fixed? Or the readability/maintainability of that would outweigh slight performance overhead?
If there is a genuine performance concern there's plenty of other ways to do it which would make it run faster.