On 2012-04-13, at 11:00 AM, Marc Feeley wrote:
On 2012-04-13, at 10:40 AM, Hendrik Boom wrote:
On Thu, Apr 12, 2012 at 03:46:21PM -0400, Marc Feeley wrote:
I am proposing to include the generated .c files in the repo, but only commit changes occasionally. Basically, every time a new release would be published (i.e. a .tar.gz with a new version number) the new .c files would be committed to the repository.
The .c bloat in the repository would be greatly reduced if gambit's output were to be a continuous function of the input -- that small changes in the gambit source code would usually produce small changes in the .c files.
That is not the case. Think of the .c file as assembly code with lots of numbered labels for various things (code labels, global variable labels, etc). Just adding a single code label (because an "if" was added) will renumber many of the remaining code labels.
And also, as far as I know, git stores the *whole* file as soon as there is a change in the file (whether it is one byte or all the bytes).
Marc