From 402b269bf4beafcc44137465825cb95ad42519ef Mon Sep 17 00:00:00 2001 From: Timon Ringwald Date: Mon, 29 Aug 2022 00:41:27 +0200 Subject: [PATCH] removed commented code --- compile.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/compile.go b/compile.go index 68e3026..4e1edcb 100644 --- a/compile.go +++ b/compile.go @@ -55,13 +55,6 @@ func Compile(cfg *CompileConfig, ch chan<- *CompileReport, wg *sync.WaitGroup) { } Compress(filePath, start, cfg, ch, wg) - - // uncomment for independent compile and compress tasks - // (slightly slower in tests, most likely because of more context switches) - /* - ch <- &CompileReport{Config: cfg, State: StateWaiting} - go Runner.Run(func() { Compress(filePath, cfg, ch, wg) }) - */ } func Compress(filePath string, start time.Time, cfg *CompileConfig, ch chan<- *CompileReport, wg *sync.WaitGroup) {