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

Eliminating "tuple expression" overhead #5

Open
si14 opened this issue Jul 12, 2011 · 0 comments
Open

Eliminating "tuple expression" overhead #5

si14 opened this issue Jul 12, 2011 · 0 comments
Assignees

Comments

@si14
Copy link
Member

si14 commented Jul 12, 2011

For now, alog_pt makes following:
?DBG({A, B, "test ~p"}, [foobar]) → dbg(io_lib:format("A: ~p B: ~p ~s", [A, B, "test ~p"]), [foobar])
There is another way to do this with less overhead:
?DBG({A, B, "test ~p"}, [foobar]) → dbg("A: ~p B: ~p test ~p", [A, B, foobar])

@ghost ghost assigned si14 Aug 13, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant