Тёмный

CppCon 2014: Andrei Alexandrescu "Optimization Tips - Mo' Hustle Mo' Problems" 

CppCon
Подписаться 153 тыс.
Просмотров 74 тыс.
50% 1

Опубликовано:

 

28 сен 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 19   
@Schcarraffone
@Schcarraffone 6 лет назад
you should always code your c++ 11 and c++ 14 keeping in mind how many electrons are moved down the copper wires you know...
@sankalpramesh5478
@sankalpramesh5478 3 месяца назад
How does putting reference count at the start of the class help?
@DavidVaughan00
@DavidVaughan00 8 лет назад
My favorite C++ guy
@notinlist
@notinlist 6 лет назад
CPP MAN
@jsham92
@jsham92 5 лет назад
@@notinlist He's actually D MAN
@bdafeesh
@bdafeesh 6 лет назад
This guy is fantastic. Seriously one of my favorite people to watch.
@morbo3000
@morbo3000 9 лет назад
A 5% difference in performance translates to 5% more battery life. That's huge.
@movax20h
@movax20h 4 года назад
5% difference in core of language or popular libraries is like you know eliminating few data centers. Billions of dollars worth.
@GeorgeTsiros
@GeorgeTsiros 5 лет назад
To anyone who is against using goto, do recall what the underlying assembly looks like.
@ХузинТимур
@ХузинТимур 3 года назад
Well, on current Clang and GCC (in 2021) using `goto` and using two `delete`s produce same code.
@platin2148
@platin2148 3 года назад
ZII is really powerful
@techprocess42
@techprocess42 2 года назад
i don't understand, why we need goto? Why not just dublicate "delete p_;" instead of goto?
@msqrt
@msqrt 2 года назад
As he says, it makes the (compiled) code smaller, which often means faster since more stuff fits in the instruction cache. Though in this case I guess he could just have it be the last thing in the function since both branches go there anyway. (Edit: nah, I thought of it wrong -- it can't just go in the end.)
@GabrielHasbun
@GabrielHasbun 9 лет назад
If one is prematurely optimizing one is not allowing the compiler to know better.
Далее
DAXSHAT!!! Avaz Oxun sahnada yeg'lab yubordi
10:46
Просмотров 242 тыс.
Fastware - Andrei Alexandrescu
1:00:00
Просмотров 22 тыс.
CppCon 2014: Mike Acton "Data-Oriented Design and C++"
1:27:46
Branchless Programming in C++ - Fedor Pikus - CppCon 2021
1:03:57
C++ Super Optimization: 1000X Faster
15:33
Просмотров 320 тыс.
Writing Quick Code in C++, Quickly
1:11:37
Просмотров 110 тыс.
'Fastware' - Andrei Alexandrescu [ ACCU 2016 ]
1:02:17
Просмотров 32 тыс.
DAXSHAT!!! Avaz Oxun sahnada yeg'lab yubordi
10:46
Просмотров 242 тыс.