kevinburke / go-bindata

A small utility which generates Go code from any file. Useful for embedding binary data in a Go program.
Other
346 stars 28 forks source link

Fewer allocations #15

Open kevinburke opened 5 years ago

kevinburke commented 5 years ago

The benchmark says a single run generates 16,000 allocations. That's going to be really slow.

Can we do anything to reduce the number of allocations?

kevinburke commented 5 years ago

See golang/go#31472.