Categories
RSS Feed
Search NewtonExcelBach
Archives
Top Posts
- Intersections, interpolations, and rotations
- Using LINEST for non-linear curve fitting
- Biaxial bending update
- Cubic Splines
- Retrieving unique values from a range or array ...
- A catenary function
- The history of the theory of beam bending - Part 3
- Writing Arrays to the worksheet - VBA function
- Converting from global to local coordinates (and vice versa)
- Linestgap with data in rows
Recent Comments
Tag Archives: lru_cache
Python functools and the Fibonacci Sequence
The Python functools module has been around since 2006, so it’s not exactly new, but it is something I don’t currently use, but with potential to be useful. This link: Functools module in Python provides details and examples of all … Continue reading
Python functools – cache and lru_cache
Update 3rd April 2022: Following the comment from Larry Schuster I have modified the code so that the factorial0 function actually uses cache as intended, rather than lru_cache. I also added code to clear the cache after each timer run, … Continue reading
Posted in Excel, Link to Python, PyXLL, UDFs
Tagged cache, Excel, Factorial function, Functools, lru_cache, Numba, Python, PyXLL
3 Comments