[erlang-questions] erlang sucks
Mats Cronqvist
mats.cronqvist@REDACTED
Mon Mar 17 15:32:04 CET 2008
attila.rajmund.nohl@REDACTED wrote:
> On Thu, 13 Mar 2008, Mats Cronqvist wrote:
>
>> i claim that in a real system, it is *always* faster to use the trace
>> BIF than io:format, if you are equally skilled with both.
>> for example, the "hundreds of lines of trace" you're talking about
>> would presumably be the arguments to functions calls?
>> from the erlang:trace/3 man page; "arity - Used in conjunction with
>> the call trace flag. {M, F, Arity} will be specified instead of {M,
>> F, Args} in call trace messages."
>
> Actually I do need some of the arguments (how would I know which one of
> the 10 similarly named functions is called?), I just don't need the
> whole process state.
http://erlang.org/doc/apps/erts/match_spec.html#1.6
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mats_cronqvist.vcf
Type: text/x-vcard
Size: 179 bytes
Desc: not available
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20080317/54f1dc77/attachment.vcf>
More information about the erlang-questions
mailing list