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

Popular posts from this blog

php - trouble displaying mysqli database results in correct order -

depending on nth recurrence of job in control M -

sql server - Cannot query correctly (MSSQL - PHP - JSON) -