Hacker News new | ask | show | jobs
by jacwah 2299 days ago
That's not what O(1) means. If your strings are short, complexity doesn't matter either way.