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

Wenn hashCode() lügt und equals() hilflos ist - JAVAPRO Germany

Ein tiefer Blick in Java’s HashMap-Fallen – visuell demonstriert mit Vaadin Flow Die stille Gefahr in der Standardbibliothek…

JAVAPRO Germany
"B-trees underperform hash maps in benchmarks? Think carefully before opting for O(log n) speed at the cost of 60% more space & complexity. Devs, don't get caught in the trap of optimizations that just aren't worth it! #hashmaps #binarysearchtrees #scalability" https://www.scattered-thoughts.net/writing/smolderingly-fast-btrees/
Smolderingly fast b-trees

Today I learned that bash has hashmaps - Xe Iaso

#rust day. Onto #vectors, #strings, #hashmaps. Definitely encrypted strings are an area I had hard times in other languages, so this should be a good read.
Bash Associative Array Explained With Examples In Linux - OSTechNix

Bash supports two types of arrays namely Indexed Array and Associative Array. This guide explains Bash associative array in detail in Linux.

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)