Post

A smallish refactoring in a Node.js server application saved me 272 bytes per HTTP request. That's pretty nice, I think. Or at least it made me happy :)

0 reposts5 likes

No, just JS things: ~100 bytes on temporary objects (immediately passed to a Node addon so necessarily created) that can be replaced with a mutated singleton, ~150 bytes on replacing a normal function + context based capturing with a class instance with explicit capturing and .bind(this).