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
Avoid using dynamically allocated vector for punctuators_and_operators (#284)
I'm currently working on a memory profiler, and I noticed that 880 bytes
was always being allocated at the start of any program that I tested.
This allocation was due to `punctuators_and_operators`, inside cpptrace.
<img width="1548" height="404" alt="image"
src="https://github.com/user-attachments/assets/5d218d65-0530-4d29-ad1f-24f5ce7a2090"
/>
I've created this MR to convert `punctuators_and_operators` into a
statically allocated array, so that cpptrace doesn't do any allocations
on initialization.
---------
Co-authored-by: Jeremy Rifkin <[email protected]>
0 commit comments