When working with large PeriodCollections (300-400 Period objects each) initializing asString variable in Period __construct() slows down PeriodCollection operation as subtract() and overlapAll().
With this patch, I've obtained a -16% CPU time in my batch command (going from 4min 35sec to 3min 51sec).
When working with large PeriodCollections (300-400 Period objects each) initializing asString variable in Period __construct() slows down PeriodCollection operation as subtract() and overlapAll(). With this patch, I've obtained a -16% CPU time in my batch command (going from 4min 35sec to 3min 51sec).