| Post Reply | RetroFed Forums Forum Index » Ask Experienced Devs |
| Author | Message | ||
|---|---|---|---|
|
pool's kitten π§π·π΄ββ οΈπΈπ΄ kbin.earth ![]() obbeel@kbin.earth Joined: 2025-12-16 |
I'm asking because inside a hashmap each element would have a signature, then it's easier to compare, no? #question |
||
| 6 Original | |||
|
lad programming.dev sukhmel@programming.dev Joined: 2023-07-03 |
I'm not sure I understand you, but the signature will most often have a separate ordering that won't help with ordering the objects themselves. Also, there are TreeMaps, that maintain order of elements, but those do the work on every insert |
||
| 4 | |||
| Post Reply | Page 1 |