https://martin.ankerl.com/2022/08/27/hashmap-bench-01/ #hashmaps #productivity #timewasting #techhumor #HackerNews #ngated
Mutable Schlüssel in #HashMaps können zu unsichtbaren Einträgen führen. Warum hashCode()-Änderungen fatale Folgen für Lookup, Security & Konsistenz haben, zeigt @svenruppert in der interaktiven #Vaadin-Demo. Teste es: https://javapro.io/de/wenn-hashcode-luegt-und-equals-hilflos-ist/
#Vaadin #Java #JavaSecurity @Vaadin
Starting #problemsolving on #leetcode (leetcode.com) using #rustlang | #rust. First a simple #problem for retrieving indices of a vector where two elements match a target sum. Learning some basic Rust along the way even with this brute force solution. Apparently it's the most memory efficient among the submissions, although it's quite slow. Something faster could be achieved with #hashmaps or the like.
(posting this on metalhead because the upload on linuxrocks is bugged right now)