3 ms·
You could improve the speed a little bit (maybe) by doing something like: self._fns = {fn.__name__: fn for fn in [...]} This may not be faster since the l
by ijustlovemath 3y ago
You could improve the speed a little bit (maybe) by doing something like:
self._fns = {fn.__name__: fn for fn in [...]}
This may not be faster since the list is so short, but worth checking into