Rachael Sexton
Rachael Sexton
@oprypin will do. @pawamoy ok, so i can either make the package for you to fork into the mkdocstrings organization, or you can start the barebones/skeleton of the repo and...
Ahhh I got you. Ok, I have some deadlines here but very briefly let me clarify what parts I would hope are (ostensibly) cacheable: First, I don't think we can...
Not to pivot things on this issue, but maybe a way (easier?) to get broader editor compatibility is to make a [Tree-Sitter](https://tree-sitter.github.io/tree-sitter/creating-parsers) syntax? This is possible less involved than a...
@yukinarit hey just seeing your new release! Congrats on the beartype refactoring, you should totally let @leycec know about another cool application 😊 plum also refactored to use beartype, and...
Just coming here to say I'm so happy I saw a tree-sitter discussion already! Hoping to try out djot in Helix, so a tree-sitter parser would be phenomenal.
I mean in the docs. From the second one: > Returns consistent spanning arborescence using Kruskal. >The spanning tree is NOT minimal. From the third: > The spanning tree is...
Sure; for starters, scipy implements [`minimum_spanning_tree`](https://docs.scipy.org/doc/scipy/reference/generated/scipy.sparse.csgraph.minimum_spanning_tree.html) (in fact, everything in the `scipy.sparse.csgraph` module would be a great thing to include here!) The [source code](https://github.com/scipy/scipy/blob/20353222a7a8b63bd56067a56b9bf8db4d0d3107/scipy/sparse/csgraph/_min_spanning_tree.pyx#L123) there has a reference implementation of...
Note that these are all essentially `O(|E|log|V|)`, so they are considered quite fast already. I think there's an _expected-linear-time_ one, as well, e.g. [here](https://www.wikiwand.com/en/Expected_linear_time_MST_algorithm). But that would probably be more...
@ggoretkin-bdai I'll report back once I can test this, but I'm pretty sure this is exactly the use case of [`typing.Type`](https://mypy.readthedocs.io/en/stable/kinds_of_types.html#the-type-of-class-objects). I've linked to the mypy docs there, but it's...
> I believe it would be ideal for plum.convert to be implemented in terms of typing.Type, if the performance can match. @ggoretkin-bdai Just so I'm clear, you are trying to...