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
It would be nice to find a way to optimize this, for example by using a ringbuffer / linked list, or some other method to avoid doing a O(n)memmove every time when adding breadcrumbs that are at their maximum.
The text was updated successfully, but these errors were encountered:
Adding a breadcrumb right now is using
sentry__value_append_bounded
to limit the number of breadcrumbs according to settings:sentry-native/src/sentry_core.c
Lines 650 to 651 in a05b260
However that internally does a costly
memmove
:sentry-native/src/sentry_value.c
Line 658 in a05b260
It would be nice to find a way to optimize this, for example by using a ringbuffer / linked list, or some other method to avoid doing a
O(n)
memmove
every time when adding breadcrumbs that are at their maximum.The text was updated successfully, but these errors were encountered: