aboutsummaryrefslogtreecommitdiffstats
path: root/lib/stdlib/src/queue.erl
diff options
context:
space:
mode:
authorJosé Valim <[email protected]>2015-05-14 13:26:16 +0200
committerJosé Valim <[email protected]>2015-05-14 13:26:17 +0200
commit5f5ce84d0f85faba7f9f26059a08a2ba9122f524 (patch)
treedcef42757ab9cd4cc6f8297de7bbc72758f43839 /lib/stdlib/src/queue.erl
parent6a3e878126da1e8d75c704510c7a7339ff306138 (diff)
downloadotp-5f5ce84d0f85faba7f9f26059a08a2ba9122f524.tar.gz
otp-5f5ce84d0f85faba7f9f26059a08a2ba9122f524.tar.bz2
otp-5f5ce84d0f85faba7f9f26059a08a2ba9122f524.zip
Cache nowarn_bif_clash functions in erl_lint
When compiling parser files, because they rely heavily on inline annotations, retrieving the nowarn_bif_clash information from the compiler options is expensive. This patch stores nowarn_bif_clash in the lint record. By using erlc +'{eprof,lint_module}' when compiling the erlang parser, we noticed the time spent on nowarn_function/2 reduced from 30% to 0.01%.
Diffstat (limited to 'lib/stdlib/src/queue.erl')
0 files changed, 0 insertions, 0 deletions