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

DM-10608: Log: avoid use of inspect.stack() #27

Merged
merged 1 commit into from Jun 14, 2017
Merged

Conversation

PaulPrice
Copy link
Contributor

inspect.stack() will go and read the source files, which introduces I/O
that we'd like to avoid in order to minimise overheads. We don't need
to read the source to get the function name, which can be grabbed from
the frame.

inspect.stack() will go and read the source files, which introduces I/O
that we'd like to avoid in order to minimise overheads. We don't need
to read the source to get the function name, which can be grabbed from
the frame.
@PaulPrice PaulPrice merged commit ca23561 into master Jun 14, 2017
@ktlim ktlim deleted the tickets/DM-10608 branch August 25, 2018 05:16
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.

None yet

2 participants