The only price paid is one additional MVar read per write to the journal. Presumably writing a journal file dominiates over a MVar read time by several orders of magnitude. --batch does not get the speedup because then it needs to notice when another process has made a change. Also made the assistant and other damon modes bypass the optimisation, which would not help them anyway. |
||
|---|---|---|
| .. | ||
| Transport | ||
| Common.hs | ||
| Core.hs | ||
| Transport.hs | ||
| Types.hs | ||