aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/atom.c
diff options
context:
space:
mode:
authorJohn Högberg <[email protected]>2018-10-25 08:33:08 +0200
committerJohn Högberg <[email protected]>2018-10-26 11:22:55 +0200
commit1056d2d1fd49f669a2001f03890e13c9cba76c1e (patch)
tree147f3faacd8a67df8b1126813a49a4b1a6d61091 /erts/emulator/beam/atom.c
parent0aad6ef3bf360f2971d5c8b22620aecc3cdae3ef (diff)
downloadotp-1056d2d1fd49f669a2001f03890e13c9cba76c1e.tar.gz
otp-1056d2d1fd49f669a2001f03890e13c9cba76c1e.tar.bz2
otp-1056d2d1fd49f669a2001f03890e13c9cba76c1e.zip
Inline erts_cmp
This greatly increases the performance of '--'/2 which does a lot of term comparisons.
Diffstat (limited to 'erts/emulator/beam/atom.c')
-rw-r--r--erts/emulator/beam/atom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/atom.c b/erts/emulator/beam/atom.c
index 5381611fab..59b51fd15e 100644
--- a/erts/emulator/beam/atom.c
+++ b/erts/emulator/beam/atom.c
@@ -174,7 +174,7 @@ atom_alloc(Atom* tmpl)
/*
* Precompute ordinal value of first 3 bytes + 7 bits.
- * This is used by utils.c:erts_cmp_atoms().
+ * This is used by erl_utils.h:erts_cmp_atoms().
* We cannot use the full 32 bits of the first 4 bytes,
* since we use the sign of the difference between two
* ordinal values to represent their relative order.