Lec-27: Question on Code Optimization in Compiler

  Рет қаралды 160,865

Gate Smashers

Gate Smashers

Күн бұрын

Пікірлер: 28
@riyaanhussain7851
@riyaanhussain7851 2 жыл бұрын
kabhi kabhi mera dil me khayal aata ha agar Gate Smashers nhi hota to mera kya banta
@plops15
@plops15 4 жыл бұрын
Sir, Thank you so much, please jaldi se sab videos daalke humara sem clear karvado.
@sinigeorge9529
@sinigeorge9529 4 жыл бұрын
Hi Sir, Thanks for always updating the playlist!
@sinigeorge9529
@sinigeorge9529 3 жыл бұрын
@Ray Marc @Tate Emmet Comments seems to be from bots
@abhishakya3146
@abhishakya3146 4 жыл бұрын
Hello, When you had started this channel and I had seen your first video. At that time I was thinking you are outstanding.your explanation way and content outstanding. I know you will hit the 10M Subscribers.
@shashanksharma7747
@shashanksharma7747 3 жыл бұрын
one of the best faculty in youtube platform
@purpleocean1689
@purpleocean1689 4 жыл бұрын
Short and crisp. Perfect.
@saurabhdubey9487
@saurabhdubey9487 4 жыл бұрын
Even i%2 can be changed to i=i+2 in for loop It's a strength reduction and loop invariant I think
@krishgarg5665
@krishgarg5665 3 жыл бұрын
Great observation
@duadua3687
@duadua3687 4 жыл бұрын
Best teacher in world sir g ap sa request hy mcq k sb subject k lecturer upload kr dya plzzzz
@Er.Sunil.Pedgaonkar
@Er.Sunil.Pedgaonkar Жыл бұрын
Excellent
@pateldarsh1698
@pateldarsh1698 Жыл бұрын
Khadda hu aaj bhi vahi jo tera intezaar tha..........Malak..........Why you broke my heart :(
@Soumyajit_619
@Soumyajit_619 Жыл бұрын
Listen to 'Dil mera churaya kyun'... You will get the answer
@akarshjain5197
@akarshjain5197 4 жыл бұрын
Sir ji plz do not forget to upload videos on new topics please sir
@anitajain9896
@anitajain9896 4 жыл бұрын
Hello Sir, Thankyou for explaining all topics in wonderful way ,it helps me alot in my bachelor's degree. I need your guidance in my career .so how can I ask?
@UKAFSHOHAIL
@UKAFSHOHAIL 3 жыл бұрын
Thankyou sir for giving this wonderful information
@Moglikidunia
@Moglikidunia 2 жыл бұрын
Sir kindly en k handouts b share kia krein .
@sukh-e4206
@sukh-e4206 4 жыл бұрын
Sir please cover the new topic of compiler design for gate 2021
@lalitkumar8445
@lalitkumar8445 2 жыл бұрын
Hi sir, can we shift condition statement from High frequency to low frequency region like u shift if(i%2)? ....bcos next x and y statements execution depends on this condition and in case if we shift it then j loop will not run for each value of i like as usual it was before shifting.
@HassanRaza-r6l
@HassanRaza-r6l Жыл бұрын
sir g app kbhi pakistan b aaeinn please😍😍🙃🙃
@lishaanjum1962
@lishaanjum1962 11 күн бұрын
Started watching the whole playlist before 1 hour of final exam...😢
@ratnakantahanse2661
@ratnakantahanse2661 3 жыл бұрын
Thank you sir ❤️❤️❤️...
@PranjayVats
@PranjayVats 2 жыл бұрын
In the first loop cant we increment the loop variable 'i' by 2 every time rather than by 1 as we can see we are doing further operations only when i%2 is true and there is no else part. This will also optimize our code as our loop will excecute for N/2 times. But can anyone tell me that if we do that then what kind of optimization would it be?
@grovestreet9165
@grovestreet9165 4 жыл бұрын
can we optimize this code like this ?? int total_sum=n*(n-1)/2; int u=n/2-1; int num=4*total_sum; int x=num + 5*u*(u+1);; int y=7*(n-1)+ num; cout
@entire_life
@entire_life 4 жыл бұрын
Sir, Scientific Techanical assistance paper solution!?
@umernoor4655
@umernoor4655 4 жыл бұрын
I couldn't understand the option ( C ) Scope of strength reduction.
@bhojaksmith
@bhojaksmith 4 жыл бұрын
for example: X Multiply by 2 can be swapped with Shift operation (in this case it is multiply by 4, so we can instead replace it with 2 shift operation instead)
Lec-28: What is Control Flow Graph | Basic Blocks
10:09
Gate Smashers
Рет қаралды 304 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41
99.9% IMPOSSIBLE
00:24
STORROR
Рет қаралды 31 МЛН
Lec-31: Liveness Analysis in Code optimization | Dataflow analysis
15:08
Lec-26: Loop Optimization in Compiler
6:56
Gate Smashers
Рет қаралды 264 М.
Lec-30: Local vs Global Optimization | Scope of Optimization
8:56
Gate Smashers
Рет қаралды 183 М.
Мен атып көрмегенмін ! | Qalam | 5 серия
25:41