Review Request 113366: kio_http: small optimization in response code parsing
Andrea Iacovitti
aiacovitti at libero.it
Mon Oct 21 16:23:13 BST 2013
-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://git.reviewboard.kde.org/r/113366/
-----------------------------------------------------------
Review request for kdelibs and Dawit Alemayehu.
Summary (updated)
-----------------
kio_http: small optimization in response code parsing
Repository: kdelibs
Description (updated)
-------
Execute the long "if...else if..." only if the previous condition "if (m_request.responseCode != 200 && m_request.responseCode != 304)" is verified.
If it fails (that is responseCode == 200 or responseCode == 304) none of the nine conditions in the subsequent if..else if.. can be true.
Diffs
-----
kioslave/http/http.cpp 81182eb
Diff: http://git.reviewboard.kde.org/r/113366/diff/
Testing
-------
Thanks,
Andrea Iacovitti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20131021/1635da36/attachment.htm>
More information about the kde-core-devel
mailing list