You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: entries/ghatem-fpc/README.md
+9Lines changed: 9 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -233,3 +233,12 @@ a few performance improvements, and measurements as per gcarreno on a busy machi
233
233
- using mORMot's `crc32c` function instead of the native `crc32`, time dropped to 3.8 seconds
234
234
- I had removed my pre-allocated records implementation. restored it in the custom dictionary class, time dropped to 3.2 seconds
235
235
- skipping a few chars that we don't need to bother with, no timing yet
236
+
237
+
## v.5 (2024-04-27)
238
+
239
+
Various attempts at dictionary sizes, ranging from 45k to 95k. Even though larger dictionaries reduce collision tremendously, a dictionary of size 45k was still optimal.
240
+
241
+
Another trial with various hash functions, a simple modulus vs. a slightly more complex one: modulus is slower on my PC, remains to try on the test env.
242
+
Can be tested with the HASHMULT build option
243
+
244
+
Finally, it seems choosing a dictionary size that is a prime number is also recommended: shaves 1 second out of 20 on my PC.
0 commit comments