Skip to content

Dual call stacks #1

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Dual call stacks #1

wants to merge 4 commits into from

Conversation

Fidget-Spinner
Copy link
Owner

No description provided.

@Fidget-Spinner
Copy link
Owner Author

Requesting review from @pablogsal and @taegyunkim

Comment on lines +14 to +15
1. Traversing the all frames in a thread state is expensive, as
the frame layout is roughly a linked list.

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isn't this resolved by the introduction of _PyStackChunk? or am I misreading what is meant by frames here?

_PyStackChunk is still a linked list, but is much better than copying all _PyInterpreterFrame.

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it's a bit subtle, that's what I meant by "roughly" a linked list :).

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.

2 participants