removed commented code

This commit is contained in:
Timon Ringwald 2022-08-29 00:41:27 +02:00
parent 8ec8d32a5b
commit 402b269bf4

View File

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