Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
livereloadinject: Save some allocations
As suggested by @DominoPivot ``` name old time/op new time/op delta LiveReloadInject-10 1.11µs ± 2% 1.04µs ± 2% -6.45% (p=0.029 n=4+4) name old alloc/op new alloc/op delta LiveReloadInject-10 1.23kB ± 0% 0.89kB ± 0% -27.69% (p=0.029 n=4+4) name old allocs/op new allocs/op delta LiveReloadInject-10 12.0 ± 0% 10.0 ± 0% -16.67% (p=0.029 n=4+4) ```
- Loading branch information