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

Minor style tweaks #11

Merged
merged 2 commits into from
May 4, 2012
Merged

Minor style tweaks #11

merged 2 commits into from
May 4, 2012

Conversation

sjl
Copy link
Contributor

@sjl sjl commented May 4, 2012

Probably helps performance too, though I doubt it's anything statistically significant.

sjl added 2 commits May 4, 2012 16:33
Instead of ((:stop deferrable)) and ((:defer deferrable) 10) you'll now use
(deferrable :stop) and (deferrable :defer 10).

It's a bit cleaner, plus it should be slightly faster because it trades a map
lookup for a (case) call.
(recur) can recur into a function just fine, it doesn't need an explicit (loop).
aphyr added a commit that referenced this pull request May 4, 2012
@aphyr aphyr merged commit 10d7ceb into riemann:master May 4, 2012
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