[Feature Request] Optimize PythonObject.__contains__
with a CPython API function
#3806
Open
1 task done
Labels
enhancement
New feature or request
help wanted
Extra attention is needed
mojo-repo
Tag all issues with this label
Review Mojo's priorities
What is your request?
Hello, we have
PythonObject.__contains__
working: #3101It would be nice if somebody could optimize it with the corresponding CPython API 👍
Here is the current implementation:
What is your motivation for this change?
To speedup the
PythonObject.__contains__
,and by using the CPython functions,
it would not have to change a lot later 👍
Any other details?
Ping to @JoeLoser ,
(suggested the feature request in a PR 👍 )
The text was updated successfully, but these errors were encountered: