Блог пользователя ChtotoSlabovato

Автор ChtotoSlabovato, история, 4 года назад, По-английски

On the last contest I have send identical code on compilers for all 3 versions and while I got time limit on ++17 and ++14, on ++20 it took slightly more than a second(twice as fast). Is C++20 that effective or how else that can be explained?

  • Проголосовать: нравится
  • -19
  • Проголосовать: не нравится

»
4 года назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

What was the code?

»
4 года назад, скрыть # |
Rev. 3  
Проголосовать: нравится +16 Проголосовать: не нравится

There should be a tangible performance difference between 64-bit and 32-bit compiled code, specially if your program uses 64-bit numeric data processing extensively and the compiled code is running on a 64-bit microprocessor.