don't strdup for each prevline, try to reuse the allocated buffer and if needed increase it's size.
2.6 KiB
2.6 KiB
don't strdup for each prevline, try to reuse the allocated buffer and if needed increase it's size.