Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abhishekmishra-17/code-optimization-using-python
It is the program of code optimization using python....
https://github.com/abhishekmishra-17/code-optimization-using-python
code-optimizations compiler compiler-design compiler-optimization compilers csv-files optimization pandas pandas-dataframe parser parser-plugin programming-language python python3
Last synced: 12 days ago
JSON representation
It is the program of code optimization using python....
- Host: GitHub
- URL: https://github.com/abhishekmishra-17/code-optimization-using-python
- Owner: Abhishekmishra-17
- Created: 2020-04-28T23:28:41.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-05-31T19:56:43.000Z (over 4 years ago)
- Last Synced: 2024-11-08T06:12:02.608Z (2 months ago)
- Topics: code-optimizations, compiler, compiler-design, compiler-optimization, compilers, csv-files, optimization, pandas, pandas-dataframe, parser, parser-plugin, programming-language, python, python3
- Language: Python
- Homepage: https://github.com/Abhishekmishra-17/Code-optimization
- Size: 42 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Code-optimization
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=9
b=c+d
c=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+c
f=b+c
are 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...