3 ms·
Did you try -ffast-math? IIRC that used to break emacs in some subtle way, while providing no extra speed.
by Y_Y 2y ago
Did you try -ffast-math? IIRC that used to break emacs in some subtle way, while providing no extra speed.
- taeric 2y agoI thought touching the math optimizations directly was in the "unsafe" bucket. Really the only optimization I was aiming for was -march=native. That and the features like native compilation that have made it to the release. I do think I saw improvements. But I never got numbers, so I'm assuming most of my feel was wishful thinking. Reality is a modern computer is hella fast for something like emacs. I did see compilation mode improve when I trimmed down the regexes it watches for to only the ones I knew were relevant for me. That said, I think I've stopped doing that; so maybe that is a lot better?
- fireant 2y agoI've turned on fastmath in python numba compiler while thinking "of course i want faster math, duh". Took me a while to find out it was a cause of many "fun" subtle bugs. Never touching that stuff again.