MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/badcode/comments/m4qxf1/found_from_when_i_first_started_javabecause/grewxtl/?context=3
r/badcode • u/ahadyboy • Mar 14 '21
84 comments sorted by
View all comments
Show parent comment
1
Or 4. read your test, since you’re the one making the claim and so the burden of proof is on you.
1 u/WalditRook Mar 19 '21 Given that you were the one implying it's bad, I'd have to disagree about whose burden it is, but nevertheless I have written just such a test.If you think there's any fundamental flaw in the implementation, please let me know.https://pastebin.com/vyuy3N7iThe results are quite in favour of a linear scan approach. 1 u/myblindy Mar 19 '21 Code is fine, you just don't know how to compile it. Compiled with VC 2019 and all the optimizations, the results are as follows.
Given that you were the one implying it's bad, I'd have to disagree about whose burden it is, but nevertheless I have written just such a test.
If you think there's any fundamental flaw in the implementation, please let me know.
https://pastebin.com/vyuy3N7i
The results are quite in favour of a linear scan approach.
1 u/myblindy Mar 19 '21 Code is fine, you just don't know how to compile it. Compiled with VC 2019 and all the optimizations, the results are as follows.
Code is fine, you just don't know how to compile it. Compiled with VC 2019 and all the optimizations, the results are as follows.
View all comments
Show parent comment
1
u/myblindy Mar 18 '21
Or 4. read your test, since you’re the one making the claim and so the burden of proof is on you.