Menu
HAI WORLD! (That's LOLCODE for Hello)
Home
Hot
Random
Search
Browse
AI
AWS
Agile
Algorithms
Android
Apple
Backend
Bash
C++
Cloud
Csharp
All Categories
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
Breaking news Memes
Posts tagged with Breaking news
Deduping For Faster Justice
Algorithms
Programming
Databases
Backend
3 months ago
502.5K views
0 shares
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
Too Real
Programming
7.6M views
3 days ago
Rules.name = “Charles”;
Programming
68.9K views
3 years ago
MAONO Gaming Streaming Equipment Bundle: Audio Interface Mixer and XLR Dynamic Mic RGB Noise Reduction Live Streaming Podcasting MaonoCaster PD200XS&G1 NEO
Affiliate
$109.44