summaryrefslogtreecommitdiff
path: root/SECURITY.md
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2022-10-31 10:08:16 +0100
committerGitHub <noreply@github.com>2022-10-31 10:08:16 +0100
commit616d5a89d424391d51becf9b89953199c1f622de (patch)
tree57e3e960aece2bd4659340fa7f2407d80ecbd846 /SECURITY.md
parentfb4be98f263be83591af09fb284405314370a564 (diff)
downloadspack-616d5a89d424391d51becf9b89953199c1f622de.tar.gz
spack-616d5a89d424391d51becf9b89953199c1f622de.tar.bz2
spack-616d5a89d424391d51becf9b89953199c1f622de.tar.xz
spack-616d5a89d424391d51becf9b89953199c1f622de.zip
_replace_prefix_bin performance improvements (#33590)
- single pass over the binary data matching all prefixes - collect offsets and replacement strings - do in-place updates with `fseek` / `fwrite`, since typically our replacement touch O(few bytes) while the file is O(many megabytes) - be nice: leave the file untouched if some string can't be replaced
Diffstat (limited to 'SECURITY.md')
0 files changed, 0 insertions, 0 deletions