Mark Dickinson <dicki...@gmail.com> added the comment: [Eric] > There's no doubt a performance issue with doing so, although someone > would have to measure that. It may well be swamped by the memory > allocation, etc. that is going on at the same time and so won't matter.
Yes, I think changing the FPU state involves a pipeline flush, with potentially serious performance impact. But as you say, that may well be insignificant compared with everything else that's going on. > Mark will no doubt know this better than I do, but I also assume that > there's an issue with thread safety when changing such global state. I don't *think* there's an issue here: wouldn't FPU state be thread-local? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9980> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com