summaryrefslogtreecommitdiff
path: root/resources/scripts/build/dependencies/ubuntu2004
diff options
context:
space:
mode:
authorlbmkplaceholder <placeholder@lbmkplaceholder.com>2022-12-23 08:41:18 +0000
committerlbmkplaceholder <placeholder@lbmkplaceholder.com>2022-12-23 08:41:18 +0000
commit6e5828e4a8d11ce7f6d8a4868a6e0afa54e6ebf0 (patch)
tree2e67af6610db9a8fad18cd4b3c6b4b888c429e99 /resources/scripts/build/dependencies/ubuntu2004
parent7aafc62bf7f4d062ce006bea2a6d80e28e5c0f9a (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/dependencies/ubuntu2004')
0 files changed, 0 insertions, 0 deletions