« * K @gilles-colling.bsky.social

Gilles Colling @gilles-colling.bsky.social

2026-04-07 11:30 UTC

What felt like O(1) is O(n). Put that inside a loop. 500MB frame, 100 iterations — 50GB of silent temporary allocations. Fix: data.table::set() modifies in place, or vectorize so the modification lands in one shot. #rstats 2/2

A reply in a thread.

0 likes, 0 reposts, 0 replies

3 Next post4 More from @gilles-colling.bsky.socialBackBluesky home
☆ Save to home · 0 Home · Find · Games · Chat · AI · Setup