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) {