erlang - Does the bitwise operator consume a large amount of resources? -
in erlang code, have bitwise
operation bor
or band
. such as:
(?srvcc_3gpp_alerting_support bor ?srvcc_3gpp_pre_alerting_support bor ?srvcc_3gpp_mid_call_support) band acc;
when system test, find cpu usage higher before.
so doubt caused bitwise
, not sure.
anyone, can tell me cpu usage of bitwise
in erlang. how find clue this?
unless working on bignums of large size (like 2^2048), operations should hardly measureable compared rest of work program doing.
Comments
Post a Comment