diff options
| author | Frank Denis <124872+jedisct1@users.noreply.github.com> | 2025-11-03 17:09:00 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-11-03 17:09:00 +0100 |
| commit | ee4df4ad3edad160fb737a1935cd86bc2f9cfbbe (patch) | |
| tree | 88a30b506f3d620a74adaf2b01dbb6f2c17d43c7 /lib/std/Target.zig | |
| parent | afdd04356cbf7821e1f992d1f3aedf7226a7e564 (diff) | |
| download | zig-ee4df4ad3edad160fb737a1935cd86bc2f9cfbbe.tar.gz zig-ee4df4ad3edad160fb737a1935cd86bc2f9cfbbe.zip | |
crypto - threaded K12: separate context computation from thread spawning (#25793)
* threaded K12: separate context computation from thread spawning
Compute all contexts and store them in a pre-allocated array,
then spawn threads using the pre-computed contexts.
This ensures each context is fully materialized in memory with the
correct values before any thread tries to access it.
* kt128: unroll the permutation rounds only twice
This appears to deliver the best performance thanks to improved cache
utilization, and it’s consistent with what we already do for SHA3.
Diffstat (limited to 'lib/std/Target.zig')
0 files changed, 0 insertions, 0 deletions
