Python dict 的優化
從 Python 3.6 dict 的改寫,來看看插入順序如何跟著記憶體優化。
從 Python 3.6 dict 的改寫,來看看插入順序如何跟著記憶體優化。
Python 3.12 起,itertools.batched 是把資料切成固定大小批次的標準做法:每批回傳 tuple,最後一批可能較短,3.13 再加上 strict。另外整理 yield、列表推導式、islice、numpy.array_split 各自吃什麼輸入。
ETL vs ELT: what each of the three steps does, why modern warehouses push the transform step to the target for performance, and where PAAS/SAAS fits in.