Skip to content

[0.0.105] (Bindings Only) Concretize LockableScore as MultiThreadedLockableScore #1338

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged

Conversation

TheBlueMatt
Copy link
Collaborator

We don't really care about more than this in bindings - calling
into a custom Score is likely too slow to be practical anyway,
so this is also a performance improvement.

Works around rust-lang/rust#90448

This is a forward port of the same commit as applied to 0.0.104 and 0.0.103, now on a new branch - 0.0.105-bindings, which I'll update to 0.0.105 before we land this (after 105 is tagged).

@jkczyz jkczyz self-requested a review March 1, 2022 00:54
@TheBlueMatt TheBlueMatt force-pushed the 2022-02-bindings-105 branch from 57c1d7e to 675d4ef Compare March 1, 2022 03:48
We don't really care about more than this in bindings - calling
into a custom `Score` is likely too slow to be practical anyway,
so this is also a performance improvement.

Works around rust-lang/rust#90448
...as the bindings generation does not currently have the ability
to map a reference to a `NodeId` inside a tuple.
@TheBlueMatt TheBlueMatt force-pushed the 2022-02-bindings-105 branch from 675d4ef to fec5dcb Compare March 1, 2022 03:48
.. as the current C bindings generator isn't capable of handling
type aliases in generics in type alias definition currently.
@TheBlueMatt TheBlueMatt force-pushed the 2022-02-bindings-105 branch from fec5dcb to 2d210c0 Compare March 1, 2022 03:51
@TheBlueMatt TheBlueMatt merged commit 5009528 into lightningdevkit:0.0.105-bindings Mar 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants