Skip to content

Instantly share code, notes, and snippets.

View walkingeyerobot's full-sized avatar
👁️‍🗨️

walkingeyerobot

👁️‍🗨️
View GitHub Profile
$ benchcmp.exe old.txt new.txt
benchcmp is deprecated in favor of benchstat: https://pkg.go.dev/golang.org/x/perf/cmd/benchstat
benchmark old ns/op new ns/op delta
BenchmarkCodeEncoder-12 1353046 1336969 -1.19%
BenchmarkCodeMarshal-12 1426484 1437951 +0.80%
BenchmarkMarshalBytes/32-12 253 264 +4.35%
BenchmarkMarshalBytes/256-12 676 689 +1.92%
BenchmarkMarshalBytes/4096-12 6353 6363 +0.16%
BenchmarkCodeDecoder-12 6308452 6312691 +0.07%
BenchmarkUnicodeDecoder-12 310 314 +1.29%
class Node {
constructor(area, itemCount, smallKeyCount, dungeonPrizeCount) {
this.area_ = area;
this.itemCount_ = itemCount;
this.smallKeyCount_ = smallKeyCount;
this.dungeonPrizeCount_ = dungeonPrizeCount;
this.edgesOut_ = [];
}
};
@walkingeyerobot
walkingeyerobot / story.ni
Created February 18, 2018 00:27
compilation fails - why?
"test" by "walkingeye"
First Room is a room. "Welcome to the First Room."
A magic-spell is a kind of backdrop.
active-spells is a list of magic-spells that varies.
frotz is a magic-spell. It is everywhere.