Logo
The first webcam monitored a coffee pot.
  • Home
  • Hot
  • Random
  • Search

Browse

  • AI AI
  • AWS AWS
  • Agile Agile
  • Algorithms Algorithms
  • Android Android
  • Apple Apple
  • Azure Azure
  • Backend Backend
  • Bash Bash
  • C++ C++
  • Cloud Cloud
  • All Categories
As an Amazon Associate ProgrammerHumor.io earns from qualifying purchases.

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

HTTP 418: I'm a teapot

The server identifies as a teapot now and is on a tea break, brb

Set Memes

Posts tagged with Set

Deduping For Faster Justice

Algorithms Programming Databases Backend
9 months ago 637.9K views 0 shares
Deduping For Faster Justice
Someone finally decided to apply software engineering best practices to a criminal investigation. Converting a list to a set for O(1) lookup time? Chef's kiss. Nothing says "we're serious about justice" quite like eliminating duplicate entries with a simple data structure swap. I can just imagine the meeting: "Detective, we need to search through thousands of names!" "Have you tried... deduplication?" "Brilliant! Promote this person immediately!" The real question is whether they're using a HashSet or a TreeSet. Performance matters when you're fighting crime, people. Also, did nobody think to normalize the data before storing it? Guess they didn't have a DBA on the investigative team.

Today's picks

Royjhnl Standing Desk Converter 32 Inch, Height Adjustable Sit-Stand Workstation, Dual Monitor Riser with Wide Keyboard Tray - Office & Home Use, Black (Black)

Royjhnl Standing Desk Converter 32 Inch, Height Adjustable Sit-Stand Workstation, Dual Monitor Riser with Wide Keyboard Tray - Office & Home Use, Black (Black)

Affiliate
$49.99
Finally, inner peace

Finally, inner peace

Programming
98.9K views 5 years ago
why did u do this to me

why did u do this to me

Programming
108.1K views 3 years ago