nickfury3398
MModular
•Created by nickfury3398 on 2/2/2024 in #questions
Trying to understand Parallelize
I have some code which I would like to speed up and cannot vectorize since it uses custom types. I am trying to use parallelize to split up the compute and am running in a Docker container on Intel Mac, Mojo 0.7.0. I have tried many combinations of parallelize[func](jobs, workers) but the best improvement I can get is about 2.5x. Why can I not do any better?
2 replies
MModular
•Created by nickfury3398 on 1/31/2024 in #questions
Large static list storage
What would be the best way to store a static list of integers in Mojo? I would just like to be able to initialise a large (tens of thousands) number of integers in a static list much like in python so that i can access values from other mojo programs.
8 replies