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

Автор whybee, история, 7 лет назад, По-английски

submisson1 and submission2 are almost the same Only thing I did is remove the "#define"s Do they really produce that much of an overhead? If yes, why do people have it in the first place I thought these were resolved at the compile time, run time shouldn’t be affected at all ! Can anyone help me out with this?

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

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

Actually #define int long long causes overhead. Every 32-bit integer will become 64-bit.