2

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?

Chirag Tayal
  • 459
  • 1
  • 6
  • 14

1 Answers1

2

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).

Simon Richter
  • 28,572
  • 1
  • 42
  • 64