Erik Rothoff Andersson

Results 86 comments of Erik Rothoff Andersson

@armin-ahmadi are you the person to make it happen? 💪 💪 💪

I take it this only happens when not using something like JSON that encodes UTF-8 characters?

Don't you need to wait for the connection to be made before emiting?

Should be a fairly easy fix, to use a map instead of just plainly emitting. Note I've released the lock earlier, which should be better for performance? What do you...

I think it's an interesting tradeoff, making a map per broadcast might be slow vs the extra memory of keeping every connection in a default room. I'd actually vote for...

Then it's a question of how much memory should we allocate for this scenario. Our use case for sockets does not require it, so it will add extra overhead that...

I was looking at that just yesterday as well! I think it's a good solution to just use the map to see who has been "emit"ed in the loop. I...