PengZheng opened a new pull request, #616: URL: https://github.com/apache/celix/pull/616
This PR fixes #527 by adapting Felix's manifest parsing to Celix. The Felix approach has the following advantages: - Memory Safe. Explicit memory writes are guaranteed to be within bound, and string is guaranteed to be null terminated. - Efficient. It use only 512 B stack memory for ordinary manifest, while the previous implementation use 3.5 KB. Explicit memory allocation is avoided if possible. - Easy to test. 100% coverage. Along the way, it also improves ERR by avoiding thread specific storage allocation triggered by a read operation. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
