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 more optimized to read a section of the /proc/<pid>/maps file at a time and parse it; if the results were found, free the buffer and return; else, just read once again. This might be applicable to other files, such as /proc/<pid>/status, but since they're not so big, it might not be necessary for performance increase. Instead, it might be a good idea to read until the end of life and pass the read line to a function.
The text was updated successfully, but these errors were encountered:
It would be more optimized to read a section of the
/proc/<pid>/maps
file at a time and parse it; if the results were found, free the buffer and return; else, just read once again. This might be applicable to other files, such as/proc/<pid>/status
, but since they're not so big, it might not be necessary for performance increase. Instead, it might be a good idea to read until the end of life and pass the read line to a function.The text was updated successfully, but these errors were encountered: