Vinzent Steinberg
Vinzent Steinberg
bc.. It doesn't. p. Original comment: "http://code.google.com/p/mpmath/issues/detail?id=88#c14":http://code.google.com/p/mpmath/issues/detail?id=88#c14 p. Original author: "https://code.google.com/u/[email protected]/":https://code.google.com/u/[email protected]/
bc.. Thank you, it finally links to this: http://code.activestate.com/recipes/572213/ But pickling and unpickling doesn't seem to be effective in my opinion. I'd really like to pass the the function by...
bc.. Looking at the current code, fsum() and fdot() need to be parallelized, no? p. Original comment: "http://code.google.com/p/mpmath/issues/detail?id=88#c17":http://code.google.com/p/mpmath/issues/detail?id=88#c17 p. Original author: "https://code.google.com/u/[email protected]/":https://code.google.com/u/[email protected]/
bc.. So the function evaluation should be parallelized instead. But I'm still having troubles with passing functions to multiprocessing. It would be interesting to see whether a multi-threaded fsum() would...
bc.. For this, you have to know how "long" the generator is and you need a possibility to "jump in" at a certain state of the generator. Python's generators are...
bc.. A prototype for evaluation of functions using multiprocessing. Currently it only works with lists and has been tested on a single core system only. :) Would a multi-threaded frange()...
bc.. Strange, the pickle hack does not seem to work on Windows, I'll try to reproduce. Expected output: $ python threaded.py 285 p. Original comment: "http://code.google.com/p/mpmath/issues/detail?id=88#c24":http://code.google.com/p/mpmath/issues/detail?id=88#c24 p. Original author: "https://code.google.com/u/[email protected]/":https://code.google.com/u/[email protected]/
Shouldn't errors and warnings be rare? Why not optimize for the common case?
> It's a point of preference. I took a look at the output without the bolding didn't have a strong opinion either way. Fair enough. I would probably remove the...
bc.. Evaluating this would mean an unnecessary evaluation (if it's not reused which would add much complexity). But there is no other way, except for letting the user specify it...