Martin Leitner-Ankerl @[email protected]

1.6K posts

Martin Leitner-Ankerl @martinus@ankerl.com banner
Martin Leitner-Ankerl @martinus@ankerl.com

Martin Leitner-Ankerl @[email protected]

@sunitram

I moved to Bluesky: https://t.co/frmhNCG9Qx

Austria انضم Nisan 2008
260 يتبع446 المتابعون
Martin Leitner-Ankerl @[email protected] أُعيد تغريده
Alexander Van der Bellen
Alexander Van der Bellen@vanderbellen·
Wir müssen Neues wagen. Die Herausforderungen sind neu. Die Lösungen sind nicht einfach. Aber sie sind möglich. Wenn wir alte Rezepte loslassen und neu denken:
Deutsch
235
59
616
94K
Martin Leitner-Ankerl @martinus@ankerl.com
@_plop_ Also note, when you have keys that are fast to compare (e.g. a uint64_t), the fingerprint is still helpful because it safes us from needing to do memory loads from random locations and just keep comparing bytes from the 8 bytes overhead thats sequentially load into memory
English
1
0
2
25
Martin Leitner-Ankerl @martinus@ankerl.com
@_plop_ So in the 8 bytes of overhead 4 bytes index (up to 4.2 billion map size), 3 bytes offset (up to 16 mill. keys map to one bucket), and 1 byte fingerprint (1/256 = 0.4% of incorrect key comparisons) seems the most reasonable tradeoff.
English
1
0
1
29
Jeremy Laumon
Jeremy Laumon@_plop_·
Hey @sunitram I'm looking at the details of unordered_dense and I have a question: why use only 1 byte of hash fingerprint? Using 2 bytes doesn't help meaningfully? (2 bytes for the distance would be enough, no?)
English
1
0
0
578
Тsфdiиg
Тsфdiиg@tsoding·
As a person who programs in Rust since 2016 I can tell you that Rust is a very safe, unergonomic language with annoying community and atrocious syntax. Which is somehow surprisingly miles better than modern C++.
English
85
177
4.5K
387.9K
kache
kache@yacineMTB·
holy fucking shit
kache tweet media
English
107
26
1.7K
399.9K
Martin Leitner-Ankerl @martinus@ankerl.com
@Eva_Kimani_ I've been to Lake Como, it's a 1-day car trip from where I live. Much less tourist-y than Lake Garda. It's nice to hike there, but it was very windy at the lake. Excellent food though 👌
English
0
0
1
122