Ranges that are configured in allowed-vlans (e.g. 1-4094), are deconstructed into all of their individual VLANs, which is unnecessary for the execution of these:
bridge vlan add dev {interface} vid {vlan} master
bridge vlan del dev {interface} vid {vlan} master
This leads to a very long commit time when doing large ranges.
Example:
Execution time of allowed-vlans 1-4094 in current state: 38.94 seconds
Execution time of allowed-vlans 1-4094 without unnecessary deconstruction of range: 4.94 seconds