Skip to content
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

Feature: Auto-selecting the right native implementation #66

Open
3 tasks done
ashvardanian opened this issue May 19, 2023 · 1 comment
Open
3 tasks done

Feature: Auto-selecting the right native implementation #66

ashvardanian opened this issue May 19, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@ashvardanian
Copy link
Collaborator

ashvardanian commented May 19, 2023

Describe what you are looking for

It's quite easy and cheap to pick the right underlying engine on startup. Much more reasonable for the user to replace rich_posix with rich_uring and understand the difference between POSIX and io_uring backends. I suggest:

  1. Deprecating the rich vs. native distinction.
  2. Auto-selecting between POSIX and io_uring.

It poses a question. If a function is only using built-in Python types, can we avoid the costly 2-layer decorator, and just pass it to the native implementation?

Can you contribute to the implementation?

  • I can contribute

Is your feature request specific to a certain interface?

Official Python bindings

Contact Details

No response

Is there an existing issue for this?

  • I have searched the existing issues

Code of Conduct

  • I agree to follow this project's Code of Conduct
@ashvardanian ashvardanian added the enhancement New feature or request label May 19, 2023
@ashvardanian
Copy link
Collaborator Author

@ishkhan42, is this already merged?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

When branches are created from issues, their pull requests are automatically linked.

2 participants