From: Paul P. <bay...@gm...> - 2011-06-11 23:46:10
|
I have committed the change to sort the vtable entries. Paul On Sat, Jun 11, 2011 at 12:58 AM, Arno Puder <ar...@pu...> wrote: > > > On Jun 10, 2011, at 10:01 AM, Paul Poley <bay...@gm...> wrote: > > You can use rsync easily via Unix or on a Mac & with a little extra work in > Windows via Cygwin. > > > Hopefully we can integrate a similar behavior into the XMLVM pipeline. > > > The 2 obstacles: > > 1. The vtable entries are randomly ordered, so the files change > unnecessarily causing recompile. I just changed the > VtableOutputProcess.java to order alphabetically & the problem solved. > > > Can you please commit this to the HEAD? This would also be useful to make > gen-c-wrapper deterministic. > > > 1. Adding/removing String constants causes the index number to change > in other files, causing the other files to recompile unnecessarily. Would > that be easy to lock down index numbers in API classes? I.e. give them the > first numbers? > > > Good question. I had forgotten about the constant pool. Perhaps a similar > approach to what Markus suggested for the itables. I'll give it some > thought. > > Arno > > > > |