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

Fix timed function attribute to time body #101

Merged
merged 1 commit into from
Nov 15, 2017

Conversation

fishcakez
Copy link
Member

bind_quoted binds variables to the results of the quoted values and
prepends those to the new quoted expression. Then uses the variables
in the remainder of the quoted expression. This caused the body to be
evaluated before the timer and the timer would only measure
fn -> result end.

Closes #100

bind_quoted binds variables to the results of the quoted values and
prepends those to the new quoted expression. Then uses the variables
in the remainder of the quoted expression. This caused the body to be
evaluated before the timer and the timer would only measure
fn -> result end.
@fishcakez fishcakez merged commit e2765c5 into pinterest:master Nov 15, 2017
@fishcakez fishcakez deleted the time-function-body branch November 15, 2017 19:04
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