diff options
author | Björn Gustavsson <[email protected]> | 2011-09-04 07:58:30 +0200 |
---|---|---|
committer | Björn Gustavsson <[email protected]> | 2011-10-09 11:33:21 +0200 |
commit | 5dcee558b61f0f5dd70e18a530a2bb97c479aab5 (patch) | |
tree | 70bb475e03e92c215a898fe1d4f085b4d82a32c3 /erts/emulator/beam/erl_cpu_topology.c | |
parent | a5abe96590ec22779f796fc67e5afbbf99a3a922 (diff) | |
download | otp-5dcee558b61f0f5dd70e18a530a2bb97c479aab5.tar.gz otp-5dcee558b61f0f5dd70e18a530a2bb97c479aab5.tar.bz2 otp-5dcee558b61f0f5dd70e18a530a2bb97c479aab5.zip |
Pre-build the tuples returned by os:type/0 and os:version/0
Pre-building the tuples returned by os:type/0 (system_info(os_type))
and os:version() (system_info(os_version)) saves some run-time and
avoids building garbage in the calling process.
Diffstat (limited to 'erts/emulator/beam/erl_cpu_topology.c')
0 files changed, 0 insertions, 0 deletions