News for hackers. Stuff that matters.
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by Macha on Tuesday May 27, 2025 @06:39AM (#44105616)
If you compile your variant with -O3 I imagine it will be much faster? Iirc, the default is for GCC is to not optimise
Re:Yes-rs: A fast, memory-safe rewrite of the classic Unix y... by imurray on Tuesday May 27, 2025 @08:17AM (#44106198)
No, it will be about the same. The algorithm is wrong (calling write repeatedly) and -O3 isn't sufficient to rewrite that.