Well I got it completing and its taking about 35% longer than the 'original' method. I do expect index lookups to be faster than property lookups so believe there must be some inefficiency in my hasty refactoring.
Or there might be an issue with there being only 5 bodies in the test. Im a bit puzzled.
Or there might be an issue with there being only 5 bodies in the test. Im a bit puzzled.
Ill send the code later in the day.