Open Landry-G opened 10 months ago
Regarder la memoization https://en.wikipedia.org/wiki/Memoization et comment l'implémenter dans python. Fonction déjà existante de cache, vérifier si les outputs sont les mêmes avec la cache homemade https://docs.python.org/3.12/library/functools.html#functools.cache
Faire des tests de comparaison de performance
python -m cProfile --outfile Profile.prof calculatorrun.py -G -I -R -O snakeviz Profile.prof
Regarder la memoization https://en.wikipedia.org/wiki/Memoization et comment l'implémenter dans python. Fonction déjà existante de cache, vérifier si les outputs sont les mêmes avec la cache homemade https://docs.python.org/3.12/library/functools.html#functools.cache
Faire des tests de comparaison de performance
python -m cProfile --outfile Profile.prof calculatorrun.py -G -I -R -O snakeviz Profile.prof