forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit2a73164
committed
Improve set of candidate multipliers for perfect hash function generation
The previous set of multipliers was not adapted for large sets of shortkeys, and this new set of multipliers allows to generate perfect hashfunctions for larger sets without having an impact for existing callersof those functions, as experimentation has showed. A future commit willmake use of that to improve the performance of unicode normalization.All multipliers compile to shift-and-add instructions on most platforms.This has been tested as far back as gcc 4.1 and clang 3.8.Author: John NaylorReviewed-by: Mark Dilger, Michael PaquierDiscussion:https://postgr.es/m/CACPNZCt4fbJ0_bGrN5QPt34N4whv=mszM0LMVQdoa2rC9UMRXA@mail.gmail.com1 parent9868167 commit2a73164
1 file changed
+2
-2
lines changedLines changed: 2 additions & 2 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
81 | 81 |
| |
82 | 82 |
| |
83 | 83 |
| |
84 |
| - | |
| 84 | + | |
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
90 |
| - | |
| 90 | + | |
91 | 91 |
| |
92 | 92 |
| |
93 | 93 |
| |
|
0 commit comments
Comments
(0)