I am writing a genetic algorithm and I was wondering what are some best practices and ideas of how to increase the performance on how to update my results to an external pkl fil