Closed
Description
Prerequisites
- I am using the latest version of Locust
- I am suggesting a new feature, not asking a question
Description
Currently, SequentialTaskSet.get_next_task
uses an index and module operation to loop over the same list in a cycle
locust/locust/user/sequential_taskset.py
Line 62 in c6665d4
It should be easy to replace this with itertools.cycle
, which is a built in memory-efficient iterator for creating cycles over iterables.