richsage/RMSPushNotificationsBundle — pull request #69 by kassisbassem (2014-07-23 17:47:48+00:00)
Title: Optimizing  notification request performance 

In case of a large number of user, no need to check in every insert operation if the device idenfiers array has duplicates entries because it causes memory issue.
Just check it only when we try to retrieve the list of identifier
public function getGCMIdentifiers()
{
return array_unique($this->allIdentifiers);
}