jasonb@fediverser.communick.devB to Python@fediverser.communick.devEnglish · 1 year agoCan a Python genetic algorithm run as fast as C?github.comexternal-linkmessage-square25fedilinkarrow-up11arrow-down10
arrow-up11arrow-down1external-linkCan a Python genetic algorithm run as fast as C?github.comjasonb@fediverser.communick.devB to Python@fediverser.communick.devEnglish · 1 year agomessage-square25fedilink
minus-squarejasonb@fediverser.communick.devOPBlinkfedilinkEnglisharrow-up0·1 year agoUPDATE: I’ve added an optimized numpy version that is as fast (actually slightly) faster than the naive c version. Yay!
minus-squaresarc-tastic@fediverser.communick.devBlinkfedilinkEnglisharrow-up0·1 year agoIt’s faster because the people writing C for numpy are better than us at writing C 🤣.
UPDATE: I’ve added an optimized numpy version that is as fast (actually slightly) faster than the naive c version. Yay!
It’s faster because the people writing C for numpy are better than us at writing C 🤣.
For sure!