Every call to eContainer is delegated to the internal EStore, even if the eContainer field contains the requested value. This creates a lot of unnecessary database calls, especially when an URI is computed from an EObject by navigating all its parents.
Note: fixing this may cause some unexpected side-effects, need to be carefull on resource setting and container consistency.