diff options
author | lbmkplaceholder <placeholder@lbmkplaceholder.com> | 2022-12-23 08:41:18 +0000 |
---|---|---|
committer | lbmkplaceholder <placeholder@lbmkplaceholder.com> | 2022-12-23 08:41:18 +0000 |
commit | 6e5828e4a8d11ce7f6d8a4868a6e0afa54e6ebf0 (patch) | |
tree | 2e67af6610db9a8fad18cd4b3c6b4b888c429e99 /resources/scripts/build/release/src | |
parent | 7aafc62bf7f4d062ce006bea2a6d80e28e5c0f9a (diff) |
util/nvmutil: greatly optimise cmd_swap()
instead of XOR-swapping every byte, have pointers to the
two parts and *XOR swap the pointers*. at the end of the
program execution, when writing, pwrite the two parts into
the same file
Diffstat (limited to 'resources/scripts/build/release/src')
0 files changed, 0 insertions, 0 deletions