summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorKent Overstreet <kent.overstreet@linux.dev>2023-05-14 00:15:29 -0400
committerKent Overstreet <kent.overstreet@linux.dev>2023-05-14 23:02:24 -0400
commitc3d801598235f9c0f43a93f38dca55a997352c08 (patch)
tree959daad7d39cc54541325a70b7b809088ab79ff4 /scripts/generate_rust_analyzer.py
parentb939052b84b9ca13e566f9d9f339e8050b30730e (diff)
bcachefs: New and improved __bch2_bkey_unpack_key()
This implements a new and improved __bch2_bkey_unpack_key() as suggested by Eric Biggers; we use a postprocessing step to compute byte indexes and masks, and then fetch each packed field with a simple fetch and mask, which are now able to run in parallel. This should provide roughly similar performance to the dynamically generated bkey unpack functions dropped by the previous patch. Signed-off-by: Kent Overstreet <kent.overstreet@linux.dev>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions