More efficient updates: avoid recompilations if possible