Commit 3b9d453
committed
[stdlib] _HashTable: Rewrite applying some SIMD(ish) tricks
- Reduce the number of hash table buckets by a factor of 8.
- Increase the size of buckets from 1 to 8 entries.
- Use SIMD within a register to find matching entries, instead of iterating over individual bytes.1 parent e00f11f commit 3b9d453
File tree
5 files changed
+829
-532
lines changed- stdlib/public
- SwiftShims
- core
- stubs
5 files changed
+829
-532
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
49 | | - | |
50 | | - | |
51 | | - | |
52 | | - | |
53 | | - | |
54 | | - | |
55 | 48 | | |
56 | 49 | | |
57 | 50 | | |
| |||
61 | 54 | | |
62 | 55 | | |
63 | 56 | | |
64 | | - | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
65 | 60 | | |
66 | 61 | | |
67 | 62 | | |
| |||
0 commit comments