this post was submitted on 11 Feb 2025
358 points (95.2% liked)

Technology

63134 readers
4468 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] zkfcfbzr@lemmy.world 20 points 1 week ago (6 children)

Hash tables are often used behind the scenes. dicts and sets in python both utilize hash tables internally, for example.

[–] source_of_truth@lemmy.world -1 points 1 week ago* (last edited 1 week ago) (5 children)

I've only used java but java hash tables are stupid fast in my experience, like everything else in my crap programs was 1000 times slower than the hash table access or storage.

Just reading the title, it's talking about searching hash tables, which wasn't something I was specifically doing.

[–] deegeese@sopuli.xyz 2 points 1 week ago (1 children)

If you use a hash table, you search every time you retrieve an object.

If you didn’t retrieve, why would you be storing the data in the first place?

[–] source_of_truth@lemmy.world 1 points 1 week ago

I know that, but phrased that way it sort of sounds like they're iterating over the entire thing.

load more comments (3 replies)
load more comments (3 replies)