PySR 0005: Use built-in functions¶
Abstract¶
Use built-in functions unless there is a good reason to reimplement them.
The python built-in functions, such as map(), filter(), etc. are implemented in C, and as such are faster than Python-based implementations.
There is also no point in wasting time reimplementing a built-in function just to not change anything, unless you explicitly do it just to learn and understand how built-in functions work.