News for hackers. Stuff that matters.
Re:A Very Simple Genetic Algorithm Written in Swift 3 by nicky0 on Friday November 11, 2016 @03:38PM (#12934115)
Ooh yeah, 0m0.363s for 1000 iterations on mine. So the slowness was in the string manipulation and character conversion operations.
Re:A Very Simple Genetic Algorithm Written in Swift 3 by SOLAR_FIELDS on Friday November 11, 2016 @06:06PM (#12935317)
I've learned from years of working on making code more performant that the biggest code smells to look at first are string operations.