The are several alternatives to make a shallow copy of a list
in Python 3.5+. The obvious ones are:
some_list.copy()
some_list[:]
list(some_list)
[*some_list]
- and others...
Which method is the fastest?
NOTE: While this question is related to a "copy of the list", it concerns only performance in Python 3.5+. If you need an answer to the question of "Why you need a copy of a list in Python?", or "What is the difference between shallow and deepcopy of a list in Python?" read the following: How to clone or copy a list?