gatesn opened this issue a year ago · 0 comments
This should just be a pointer cast and offset, whereas currently it goes through py.as(...) which performs an expensive isinstance check as well as possibly returning an error.
py.as(...)