aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/sys/unix/sys.c
diff options
context:
space:
mode:
authorBjörn Gustavsson <[email protected]>2011-09-04 07:58:30 +0200
committerBjörn Gustavsson <[email protected]>2011-10-09 11:33:21 +0200
commit5dcee558b61f0f5dd70e18a530a2bb97c479aab5 (patch)
tree70bb475e03e92c215a898fe1d4f085b4d82a32c3 /erts/emulator/sys/unix/sys.c
parenta5abe96590ec22779f796fc67e5afbbf99a3a922 (diff)
downloadotp-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/sys/unix/sys.c')
0 files changed, 0 insertions, 0 deletions