jansel / opentuner

An extensible framework for program autotuning
http://opentuner.org/
MIT License
382 stars 112 forks source link

Remove dependence on fn #155

Closed bryanpkc closed 2 years ago

bryanpkc commented 2 years ago

The Python package fn (https://github.com/kachayev/fn.py) is not actively maintained and OpenTuner only uses it for the _ shortcut for creating lambdas and the Stream class for concatenating iterators. More importantly, fn is incompatible with Python 3.9+ (https://github.com/kachayev/fn.py/issues/86, https://github.com/kachayev/fn.py/issues/91). This patch rewrites the uses of fn in OpenTuner and removes the dependence.

jansel commented 2 years ago

Thanks again!