4 ms·
Low quality clickbait. This whole article could've been 2 sentences. Here's the entire article for you: "For lists, += and *= do the operation in place, wherea
by personjerry 5y ago
Low quality clickbait. This whole article could've been 2 sentences. Here's the entire article for you:
"For lists, += and *= do the operation in place, whereas a=a+b will create a new object and then copy. The former is marginally faster."