-
[python] timeit 모듈을 사용한 리스트 생성 수행시간 비교아무거나적어~ 2023. 7. 29. 17:06
[None]*N 을 사용하자
12345678N = 10**6%timeit a = [None] * N%timeit a = [None for x in range(N)]a = []'아무거나적어~' 카테고리의 다른 글
[jupyter] !, % command 차이 (0) 2023.07.29 [python] timeit 모듈을 사용한 numpy 배열 제곱 비교 (0) 2023.07.29 [c++] bool operator() (0) 2023.07.17 vscode c++20 (0) 2023.07.16 vscode 세팅 (0) 2023.07.16