News for hackers. Stuff that matters.
Re:Show HN: Redstone, a distributed Minecraft server that ru... by gritzko on Friday March 29, 2013 @01:42AM (#5459430)
Heh. Last time I checked v8 regexes were really fast, except their string builder was a disaster... it wrapped every piece of string as a js object (gc and everything).
Re:Show HN: Redstone, a distributed Minecraft server that ru... by Cthulhu_ on Friday March 29, 2013 @05:02AM (#5459839)
Sounds familiar to Java's own string concatenation. In Java you use StringBuilder / Buffer to create larger strings from smaller ones; in Node you'd use Buffers, although I never dived too deep into those.