Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

It is the program of code optimization using python....

NotificationsYou must be signed in to change notification settings

Abhishekmishra-17/code-optimization-using-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Code optimization is a technique by which we can optimize our code by deleting all "dead codes" and by eleminating "common expressions" from the inputs.

Dead code

Dead code is that codes or expressions which does not affect output of the expressions(arithmatic).e.g a=9b=c+dc=7 and d=3 ...here "a=9" is dead code...

Common expression

The expressions which either "R value"(right value) or both "L values (left values) and R values " are same,are called common expressions.

e.g a=b+cf=b+care common expressions..

Code based...

Here we can use the csv file(input.csv) as input, which contains the two header "left" and "right" for "L value" and "R value " respectively.

Other file is "output1.csv", which is used to store the intermediate results..

"Code optimization.jpg" file is final output...


[8]ページ先頭

©2009-2025 Movatter.jp