You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Object Instantiation within Loops:
In the SendBatchNotificationAsync method, you are creating multiple instances of FirebaseNotificationResult within a loop, using the CreateUsingFirebaseSendResponse method.
Recommendation: If you expect to have a large number of notifications and responses, consider using a more efficient data structure like a List with preallocated capacity. This can help reduce memory reallocation overhead during list growth.
The text was updated successfully, but these errors were encountered:
....\src\AdsPush.Firebase\FirebasePushNotificationSender.cs
Object Instantiation within Loops:
In the SendBatchNotificationAsync method, you are creating multiple instances of FirebaseNotificationResult within a loop, using the CreateUsingFirebaseSendResponse method.
Recommendation: If you expect to have a large number of notifications and responses, consider using a more efficient data structure like a List with preallocated capacity. This can help reduce memory reallocation overhead during list growth.
The text was updated successfully, but these errors were encountered: