3 ms·
wheres the code?...have a look at codereview[5], the whole site is geared for this kind of challenges [5] codereview.stackexchange.com
by pestatije 10mo ago
wheres the code?...have a look at codereview[5], the whole site is geared for this kind of challenges
[5] codereview.stackexchange.com
- zokrezyl 10mo agoI do not have one "implementation" but have been trying with different approaches that all delivered under 50% of memory bandwith... I guess if anyone can purpose a solution should be from scratch... The problem is that all approaches I tried end up generating unpredictable branches that do not allow the CPU to optimally keep loading text from memory.
- zokrezyl 10mo agohttps://godbolt.org/z/3YMbaeEGh https://godbolt.org/z/3YMbaeEGh One approach....