News for hackers. Stuff that matters.
Re:Ask HN: What are some cool but obscure data structures yo... by aidos on Friday July 22, 2022 @04:52AM (#32189960)
I’m the no case, the promise is created, and then deleted after the function is resolved.

I’m not entirely sure of the use of this pattern where your using a map and deleting the keys as you go - seems like you’d end up doing more work kinda randomly depending on how the keys were added. I’d just relive the whole map when I was done with it.

There are no comments on this comment yet.