473,508 Members | 2,032 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

js interprete concept.....

dmjpro
2,476 Top Contributor
if i write ..... in suppose (C)

if(fun_call() == 100 || fun_cal() == 200)
{
//some code
}

then compiler during code generation ... it optimizes ... like

int i = fun_call();
if(i == 100 || i == 200)
{
//some code
}

then the overhead of twice function call removed.....

now my question is....

is this true for JS?????
we know that js interpreted.....

if i write something like this is JS then is it optimized as in other languages,
or it slows down the executing performance?????

i know JS is scripting language .....
i think it is a bad programming practice..... m i right?????

plz help me out ... thanxxxx in advance
Apr 4 '07 #1
2 1074
acoder
16,027 Recognized Expert Moderator MVP
I'm unsure about the inner workings, but I would assume that it could be optimized. There are optimization tools that reduce the size of the code and can improve performance.
Apr 5 '07 #2
dmjpro
2,476 Top Contributor
thnaxx for ur sugggestionssss
Apr 6 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

10
2312
by: nop90 | last post by:
Proof of concept: Currently I have a web hosting service and it does support php. Can the following be done in php? Explanations or examples would be appreciated. Create 2 applications, app-1...
1
3864
by: Dick | last post by:
Before going in to details i like to understand more about concept and design of this database. Most books go directly in to details. Please, can a current admistrator gife me information on...
4
3890
by: jabailo | last post by:
These guys have it going on. They actually use design ideas that Microsoft employees can drool upon. Visual Studio 2010 Concept IDE http://www.codeproject.com/csharp/Concept_IDE.asp "Like...
3
1530
by: Ramza Brown | last post by:
I have this concept I throwing together. It is not professional or anything, just something I thought might be interesting. The concept is business(me) - to - consumer. It is, What did you buy?....
0
1147
by: duelearning | last post by:
I do not think that on the current market, or being developed, there is a real concept search tool. The key issue is that nobody has offered a satisfactory answer on what a concept is and its...
7
2933
by: srinivas | last post by:
Hi, I am a asp programmer.I am displaying the db records in the html pages in a web page.I have 500 columns and 1000 rows in that html table.Here i am planning to implement the "MS-Excel Freeze...
4
1884
by: mohan | last post by:
Hi All, How to implement virtual concept ( dynamic polymorphism ) in c. I guess i should create a void pointer which is pointing to the function. Not clear about this Does anyone have some idea...
1
1735
by: nimrod | last post by:
i have this problem to solve but not sure how to go about it.can anyone help me please. Environment = market Concept one to many each have action buy and action sell When multiple concepts...
0
1197
by: ParasakthiGuru | last post by:
hai, i don't know Replication concept if anybody can know that replication concept pls sent to me replication brief tutorials By Guru
2
2709
Subsciber123
by: Subsciber123 | last post by:
I am writing a program to create family trees. It is stable, but I would say that it is still in the pre-alpha stage. Anyway, I would like to be able to export the tree to a concept map. Does...
0
7227
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7127
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
7054
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
5056
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3204
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.