> Whoa... saving a model is now wickedly fast! Thanks a bunch!
That particular improvement was only a little piece of it, the main
improvements are (in order of impact):
* saving used to fire events for every attribute and relationship as
_EntityModeler userInfo dictionaries were added and removed -- these
aren't even seen in the UI, but they were churning events which was
causing the UI to refresh A LOT (in your case about a thousand times
on save :) ) this no longer happens
* saving used to resave every file in the model. the model now tracks
what specifically changed (an entity, a fetch spec, a stored proc,
etc) and only saves the files that need to be. iTunes guys had
already submitted a change that loaded the original plist and compared
the dictionaries before resaving, but this code path was being hit for
EVERY file (which means big models were loading every plist a second
time before saving). Now that path only gets hit when the model
believes it has been changed.
* unnecessary churning of internal data storage inside our EOModel
stack during save
* that little whitespace check that's called 1.04 million times :)
ms
This archive was generated by hypermail 2.0.0 : Wed Nov 26 2008 - 10:20:26 EST