[go: up one dir, main page]

Skip to content

HorridModz/PythonFunctionCache

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is a comparison of ways to cache functions in python. I came up with 4 ways to cache function results, then wrote the pros and cons for each method. I also created a speedtest to compare all the methods, as well as an example without caching.

For the example function, I used a simple recursive algorithm that calculates the factorial of a number.

About

A comparison of ways to cache functions in python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages