@rjstires
Nothing here yet.
Nothing here yet.
No blogs yet.
You got me thinking this morning, so I was looking for potential optimizations. I'm far from a guru on optimizations but I thought I'd take your idea and extend it into the followers node. forEach is notably a slow function, so I thought why not use a reducer? https://jsperf.com/multi-reducer-comparison Looks like a clear win, and we increase readability, separate the concerns a bit, and made each reducer a little more testable. Cheers!