colgreen / sharpneat

SharpNEAT - Evolution of Neural Networks. A C# .NET Framework.
https://sharpneat.sourceforge.io/
Other
380 stars 97 forks source link

Refactor IDistanceMetric.CalculateCentroid() and k-means speciation generally, to use LightweightList and Span. #51

Open colgreen opened 3 years ago

colgreen commented 3 years ago

This will involve switching the Species GenomeList from List to LightweightList, i.e. the the change might cascade out to multiple areas.

This should offer some performance gains in accessing the accessing element via a Span instead of via IList.