Improved core data example performance