News for hackers. Stuff that matters.
Re:Advanced Python Mastery – A Course by David Beazley by drcongo on Wednesday July 19, 2023 @11:17AM (#36787857)
I actually kinda like that pattern in terms of readability, though I think a generator would outperform it.
Re:Advanced Python Mastery – A Course by David Beazley by travisjungroth on Wednesday July 19, 2023 @11:37AM (#36788164)
If it’s a lot of data and part of a pipeline you’ll get memory saving. 1,000 lines and reading from a CSV it won’t matter really.