about summary refs log tree commit diff
path: root/users/tazjin/tvix-eval-value.d2
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-11-02T20·28+0200
committerflokli <flokli@flokli.de>2023-11-02T20·39+0000
commit1571d7195ea13e517835a20dde16577e99d548e0 (patch)
tree354376518569c958483596adbc7dc0ad9a786151 /users/tazjin/tvix-eval-value.d2
parent524acf0337525437d83c77f39bad6316d833e8e0 (diff)
fix(tvix/eval/benches): use black_box properly r/6926
The purpose of black_box is to actually prevent the compiler from being
able to optimize computation of the benchmarked function away.

To accomplish this, we need to actually *use* black_box to blackbox the
input data away, rather than the return type.

Change-Id: I5438982f57509fbf7b85034346a2739d76aef1fa
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9902
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/tazjin/tvix-eval-value.d2')
0 files changed, 0 insertions, 0 deletions