about summary refs log tree commit diff
path: root/tvix/Cargo.lock
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2023-03-11T22·21+0300
committertazjin <tazjin@tvl.su>2023-03-13T20·30+0000
commit94513525b939a13fb19330fe74dd9f6860a854fe (patch)
treeeef187c03a9c62f934dfb5784415f53691344a2b /tvix/Cargo.lock
parentc37e41d58305bcc6f20a92eb35aaa9dea3a977f0 (diff)
refactor(tvix/eval): reorder bytecode operations match by frequency r/5987
This reorders the operations in the VM's main `match` statement while
evaluating bytecode according to the frequency with which these
operations appear in some nixpkgs evaluations.

I used raw data that looks like this:
https://gist.github.com/tazjin/63d0788a78eb8575b04defaad4ef610d

This has a small but noticeable impact on evaluation performance.

No operations have changed in any way, this is purely moving code
around.

Change-Id: Iaa4ef4f0577e98144e8905fec88149c41e8c315c
Reviewed-on: https://cl.tvl.fyi/c/depot/+/8262
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/Cargo.lock')
0 files changed, 0 insertions, 0 deletions