cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: [PATCH] rawstr: Speed up Curl_raw_toupper by 40%

From: Lauri Kasanen <cand_at_gmx.com>
Date: Mon, 2 Nov 2015 17:49:09 +0200

On Mon, 02 Nov 2015 16:39:55 +0100
Tim Ruehsen <tim.ruehsen_at_gmx.de> wrote:

> Hi Lauri,
>
> your code wouldn't work with non-continuous character sets, like EBCDIC.
>
> Did you turn on optimization when compiling curl/libcurl ? Any half-way modern
> compiler should translate the current code into a lookup table or code like
> yours.
>
> Another option would be to check for a continuous character set within
> configure.ac and provide two code paths.

Hi Tim,

All comparisons were made with -O3 -march=native. Does curl really
support ebcdic? In 2015?

- Lauri
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-11-02