flat assembler
Message board for the users of flat assembler.
Index
> Macroinstructions > need something like 'restore' for all defitions. |
Author |
|
Tomasz Grysztar 02 Dec 2006, 11:43
What would it be useful for?
|
|||
02 Dec 2006, 11:43 |
|
dead_body 02 Dec 2006, 13:45
Quote: What would it be useful for? such decision will reduce amount of memory for compilation. it will free the memory with previous values of var. or fasm doesn't hold in memory previous values of var? |
|||
02 Dec 2006, 13:45 |
|
Tomasz Grysztar 02 Dec 2006, 14:43
If you don't need the previous value of symbolic variable, it may be better to not restore it at all, from the performance point of view - at least since the last preprocessor re-design. At the time of that preprocessor re-write I was doing some test on this, and it's usually better to not "restore" if you don't have to.
Also, in general, it's the compiler that should designed to deal with a given language in most optimal way - not the opposite. Thus my question did really mean: when it would be useful from the LANGUAGE point of view, omitting what the given implementation of compiler is like. |
|||
02 Dec 2006, 14:43 |
|
dead_body 02 Dec 2006, 15:25
thanks.
|
|||
02 Dec 2006, 15:25 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.