News for hackers. Stuff that matters.
Re:Finding unique items: hash vs. sort by Waterluvian on Tuesday January 07, 2020 @11:27PM (#21988345)
I run into this case all the time with my React apps that handle huge amounts of mapping data. You know what's beautiful? Just keep it simple, measure it, and add the extra complexity (eg. Array to dict memoized selectors) where performance is actually an issue.

I'm not saying all cases can be deferred until later. Sometimes you really need to address it up front. But I think most can be refactored later.

There are no comments on this comment yet.