diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2009-09-22 10:39:15 (GMT) |
---|---|---|
committer | Markus Goetz <Markus.Goetz@nokia.com> | 2009-11-11 10:38:33 (GMT) |
commit | 0739771c29d38a4a2f2cb08560181195ad4e8e0c (patch) | |
tree | fc18d938ca1c180a51f25cc307924bfecb15bfd3 /src/src.pro | |
parent | a7dfc472b06966393a9d9c394d91ed8974b9cfb6 (diff) | |
download | Qt-0739771c29d38a4a2f2cb08560181195ad4e8e0c.zip Qt-0739771c29d38a4a2f2cb08560181195ad4e8e0c.tar.gz Qt-0739771c29d38a4a2f2cb08560181195ad4e8e0c.tar.bz2 |
QNAM: Parse RFC1123 directly and don't go through QLocale
The QDateTimeParser forces at least two QString allocations
to convert the Month string into a integer. This makes parsing
the date string the most expesnsive operation from within
replyHeaderChanged.
Use sscanf to parse the RFC1123 header to get a significant
speedup. Use a switch case statement to convert the month
name to a integer.
Reviewed-By: Markus Goetz
Diffstat (limited to 'src/src.pro')
0 files changed, 0 insertions, 0 deletions