diff options
author | Trevor Norris <trev.norris@gmail.com> | 2014-10-01 15:42:02 -0700 |
---|---|---|
committer | Trevor Norris <trev.norris@gmail.com> | 2014-10-01 15:59:55 -0700 |
commit | e9ca7b9d8de68e13d40698f34145e2a0428aa9d7 (patch) | |
tree | 01afe04f827ce83ae2a846abb2404d8c749a4069 /doc | |
parent | 862cc28183b03f0e1a67b052b5c8250a3e2e8995 (diff) | |
download | node-new-e9ca7b9d8de68e13d40698f34145e2a0428aa9d7.tar.gz |
buffer: mv floating point read/write checks to JS
Performance improvement by moving checks for floating point operations
to JS and doing the operation on a protected internal function that
assumes all arguments are correct. Still abort if the operation
overflows memory. This can only be caused if the Buffer's length
property isn't the same as the actual internal length.
Signed-off-by: Trevor Norris <trev.norris@gmail.com>
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions