Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- timer(M, F, A) ->
- Start = os:system_time(),
- apply(M, F, A),
- os:system_time() - Start.
- zero_opt(<<>>)-> ok;
- zero_opt(<<_:1/binary, Rest/binary>>)-> zero_opt(Rest).
- t:timer(t,zero_opt,[Big])
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement