this post was submitted on 11 Feb 2025
290 points (95.6% liked)

Technology

62073 readers
4987 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
[–] [email protected] -1 points 22 hours ago* (last edited 22 hours ago) (2 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.

[–] [email protected] 4 points 19 hours ago (1 children)

Sorry to be blunt, but you don't know what you're talking about.

[–] [email protected] 0 points 12 hours ago (1 children)

How much do you think this speeds up an average program? Enlighten us with your knowledge.

[–] [email protected] 2 points 11 hours ago* (last edited 11 hours ago)

I wrote my comment not to antagonize you but to point out that you're asking the wrong questions. I failed to articulate that, and I'm sorry for being harsh.

Your prior comment indicated that you have used hash tables in Java, which were very fast. You said that your program accessed the hash tables, but did not "search" the table. These operations are the same thing, which led me to believe you're out of your depth.

This last comment asks me how much this paper's contribution speeds up an average program. You're asking the wrong question, and you seem to be implying the work was useless if it doesn't have an immediate practical impact. This is a theoretical breakthrough far over my head. I scanned the paper, but I'm unsurprised they haven't quantified the real-world impact yet. It's entirely possible that despite finding an asymptotic improvement, the constant factors (elided by the big O analysis) are so large as to be impractical... or maybe not! I think we need to stay tuned.

Again, sorry for being blunt. We all have to start somewhere. My advice is to be mindful of where the edge of your expertise lies and try to err on the side of not devaluing others' work.

[–] [email protected] 1 points 16 hours 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?

[–] [email protected] 1 points 12 hours ago

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