The poolsz magic number was picked as an arbitrarily large value, but not too huge. In real production code I would have used a resizable array or some other data structure.
To learn how things work you could try making small modifications to hello.c and see how that changes the generated code (use the -s option.) For instance you could compare the difference between the expressions a = b; and a = *b;
View all comments
Show parent comment
2
u/rswier Nov 06 '14 edited Nov 06 '14
The poolsz magic number was picked as an arbitrarily large value, but not too huge. In real production code I would have used a resizable array or some other data structure.
To learn how things work you could try making small modifications to hello.c and see how that changes the generated code (use the -s option.) For instance you could compare the difference between the expressions a = b; and a = *b;