cc @Ducksual if you are curious 
-
-
Does this actually run on multiple cores? I can't figure out where the GIL is being dropped.
1 reply 0 retweets 2 likes -
I assumed it did. What's an easy way to check on my Mac? Hmm.
2 replies 0 retweets 0 likes -
Check whether you get time speedup by increasing # cores. IMHO prototype I posted would not run without GIL, unless re-coded in Cython.
1 reply 0 retweets 2 likes -
I only have two cores sadly. At work I have a ton, so I'll try on Tuesday.
2 replies 0 retweets 1 like -
I'm going to write this thing in serial code in C now just for "fun".
2 replies 0 retweets 1 like -
well, why not pthreads then? https://computing.llnl.gov/tutorials/pthreads/ …
1 reply 0 retweets 1 like -
I expect the Cython version to be not dissimilar to such a C implementation though. With an added bonus of direct integration into Python.
2 replies 0 retweets 1 like -
I bet you just know way way more than me. I would have to learn Cython to do this. I think just a standalone C would work for me.
2 replies 0 retweets 0 likes -
if you know C & Python then you know Cython, sort of. I wrote this ages ago: https://equatorialmaths.wordpress.com/2010/10/16/python-extensions-with-c-libraries-made-easy-by-cython/ …
1 reply 2 retweets 1 like
OK, I will read this!
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.