in reply to Re: Optimizing a naive clustering algorithmin thread Optimizing a naive clustering algorithm