Skip to content
This repository was archived by the owner on Oct 18, 2023. It is now read-only.

Conversation

honzasp
Copy link
Contributor

@honzasp honzasp commented Feb 16, 2023

  • Replace some generics with dynamic polymorphism
  • Replace FuturesUnordered<JoinHandle> with a JoinSet
  • Drop FutOrNever: this reimplements Fuse from the futures crate, and does not seem to be used anyway
  • Drop some unnecessary Sync constraints (it is almost never legitimate to require a future to be Sync)

These are just small local simplifications that I found when starting the work on Hrana server that I think can be merged separately to avoid polluting the main PR.

@honzasp honzasp requested a review from MarinPostma February 16, 2023 11:23
@honzasp
Copy link
Contributor Author

honzasp commented Feb 16, 2023

bors merge (after an informal approval from @MarinPostma)

@bors
Copy link
Contributor

bors bot commented Feb 16, 2023

Build succeeded:

@bors bors bot merged commit fa7e7ee into libsql:main Feb 16, 2023
@honzasp honzasp deleted the simplify branch February 27, 2023 10:10
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant