Re:Algorithms and data structures implemented in many progra...
by voski on Friday September 23, 2022 @05:58PM
(#32957619)
The README has a section about the code
> Implementations are for learning purposes only. As they may be less efficient than the implementations in the Python standard library, use them at your discretion.
Re:Algorithms and data structures implemented in many progra...
by kragen on Friday September 23, 2022 @07:24PM
(#32958235)
Thanks! I was looking for something like that but didn't find it.
Re:Algorithms and data structures implemented in many progra...
by thrdbndndn on Friday September 23, 2022 @07:44PM
(#32958392)
That is not X11. It is just the original MIT.
Re:Algorithms and data structures implemented in many progra...
by kragen on Friday September 23, 2022 @08:13PM
(#32958580)
MIT has used a wide variety of licenses on different software, one of which is the X11 license: https://www.gnu.org/licenses/license-list.html#Expat
So maybe I should have called it "the Expat license".
The URLs are pretty shitty: https://the-algorithms.com/algorithm/show-response
What I wanted to link to there was https://github.com/TheAlgorithms/Python/blob/master/audio_fi..., where we see that evidently doing an FFT in Python requires... matplotlib?
And in https://github.com/TheAlgorithms/Python/blob/master/backtrac... we see a graph-coloring algorithm statically typed to use (lists of) the built-in lists, so you can't store your graphs in a Numpy matrix or a sparse matrix.
On the other hand, the doc strings are great, and seem to include doctests for just about everything.
So I suspect that this is not going to be a very useful repository for reusable code, but it should be wonderful as a learning resource.