Inserting a large block into a ProxyList can be very slow because of the _synchronize() method called after each insertion.
Propose an insert_multiple() method that allows multiple insertions at the same time:
insert_multiple.patch.txt
Use of this patch can easily give an order of magnitude speedup for use cases such as loop unrolling that involve a large number of insert operations.
Inserting a large block into a ProxyList can be very slow because of the _synchronize() method called after each insertion.
Propose an insert_multiple() method that allows multiple insertions at the same time:
insert_multiple.patch.txt
Use of this patch can easily give an order of magnitude speedup for use cases such as loop unrolling that involve a large number of insert operations.