Reputation: 459
When code is compiled we use symbol table to store data. Is this symbol table containing data is reused in recompilation or new symbol table is created?
Upvotes: 2
Views: 225
Reputation: 29618
Yes.
The compiler implementor defines whether information is reused. Some compilers do that for optimisation purposes or because there is a special interest (e.g. a function needs to be replaced without modifying the rest of the program).
Upvotes: 2