[curl/curl] dbb885: http: use calculated offsets inst of integer liter...
Peng-Yu Chen <[email protected]> Sat, 08 May 2021 08:01:55 -0700
| Newsgroups | gmane.comp.web.curl.cvs |
|---|---|
| Message-ID | <curl/curl/push/refs/heads/master/[email protected]> |
Branch: refs/heads/master
Home: https://github.com/curl/curl
Commit: dbb88523ab1dd73de6a80c999fea92ef8d4d3cd0
https://github.com/curl/curl/commit/dbb88523ab1dd73de6a80c999fea92ef8d4d3cd0
Author: Peng-Yu Chen <[email protected]>
Date: 2021-05-08 (Sat, 08 May 2021)
Changed paths:
M lib/http.c
Log Message:
-----------
http: use calculated offsets inst of integer literals for header parsing
Assumed to be a minor coding style improvement with no behavior change.
A modern compiler is expected to have the calculation optimized during
compilation. It may be deemed okay even if that's not the case, since
the added overhead is considered very low.
Closes #7032
_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits