Content pfp
Content
@
0 reply
0 recast
2 reactions

jtgi pfp
jtgi
@jtgi
surprising 10x speed up in throughput with this change: Before: - await promise 1 - await p2 - await p3 - await p4 After: - await [p1, p2] - await [p3, p4] Running node.js. Expected minor speed up. Underestimated cost of context switching.
10 replies
2 recasts
26 reactions

segwitnitwit pfp
segwitnitwit
@segwitnitwit
Holup what JavaScript wizardry is this notation?
1 reply
0 recast
0 reaction

jtgi pfp
jtgi
@jtgi
was my attempt to be language agnostic lol
1 reply
0 recast
0 reaction

segwitnitwit pfp
segwitnitwit
@segwitnitwit
Hah! That makes sense. Just making sure I wasn't missing some new syntax sugar 🍭
0 reply
0 recast
0 reaction