"You should use Core Data" by @atcrawford
<<< Great posthttp://pocket.co/sjIZL
@mjtsai It's always much faster operating on in-memory objects than on disk objects. In many cases it's a big perf win.
-
-
@drewmccormack Not for batch updates like Brent’s “corner case.” -
@mjtsai CD will lose the race when it is a store wide batch change. But it is a corner case compared to what you spend most time doing.
-
-
-
@drewmccormack And an SQLite index on disk can be way faster than Core Data’s in-memory predicate filtering. -
@mjtsai@drewmccormack Core Data predicates are translated to SQL queries. -
@atomicbird Right. You have to bring the objects into memory to modify them; then, until you save, you get slow in-memory filtering.
-
-
@drewmccormack Yes, many orders of magnitude.
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
Drew McCormack
Marcel Weiher
Michael Tsai
Milen Dzhumerov
Tom Harrington