Post Reply 
compiled or not?
12-16-2015, 06:35 AM
Post: #7
RE: compiled or not?
Hello,

Wether a variable in the current program is exported or not does not change anything to the lookup time. It will find the program associated with the current user executed function and then look for the variable or function in this program sequentially.


Making sure that the variable name differ on the first letter will speed things up obviously (if you make all your variables 31 characters with only a difference on the last character, it will be somewhat slower).

Forward declaration are needed because the compiler is 'single pass'. This means that the compiler reads the source only once.
Not requiring forward forces 2 full passes, dividing the compilation speed by 2.
I will put it on the long list of things to look at.

Cyrille

Although I work for the HP calculator group, the views and opinions I post here are my own. I do not speak for HP.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
compiled or not? - ji3m - 12-15-2015, 12:41 AM
RE: compiled or not? - luisphysics - 12-15-2015, 02:26 AM
RE: compiled or not? - eried - 12-15-2015, 04:03 AM
RE: compiled or not? - hpfx - 12-15-2015, 07:02 AM
RE: compiled or not? - Wes Loewer - 12-17-2015, 03:39 PM
RE: compiled or not? - hpfx - 12-17-2015, 09:58 PM
RE: compiled or not? - Wes Loewer - 12-18-2015, 01:12 PM
RE: compiled or not? - hpfx - 12-18-2015, 05:15 PM
RE: compiled or not? - ji3m - 12-15-2015, 01:50 PM
RE: compiled or not? - cyrille de brébisson - 12-16-2015 06:35 AM
RE: compiled or not? - ji3m - 12-16-2015, 01:04 PM
RE: compiled or not? - ji3m - 12-18-2015, 07:27 PM
RE: compiled or not? - eried - 12-19-2015, 12:00 AM
RE: compiled or not? - ji3m - 12-19-2015, 05:08 AM



User(s) browsing this thread: 2 Guest(s)