delorie.com/archives/browse.cgi | search |
From: | Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se> |
Message-Id: | <200003160836.JAA26445@lws256.lu.erisoft.se> |
Subject: | Re: Fastest integer type |
To: | djgpp-workers AT delorie DOT com |
Date: | Thu, 16 Mar 2000 09:36:59 +0100 (MET) |
In-Reply-To: | <200003151806.XAA01042@midpec.com> from "Prashant TR" at Mar 15, 2000 11:06:58 PM |
X-Mailer: | ELM [version 2.5 PL3] |
MIME-Version: | 1.0 |
Reply-To: | djgpp-workers AT delorie DOT com |
Errors-To: | dj-admin AT delorie DOT com |
X-Mailing-List: | djgpp-workers AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> > Martin Stromberg <Martin DOT Stromberg AT lu DOT erisoft DOT se> writes: > > > Are ints (32 bits) faster than chars (8 bits)? > > I don't think there can be something like the fastest type. I do realise that, but we have to provide the type nevertheless. > On my Pentium, 8-bits seem to be faster than the 32-bit > (according to some calculations that Linux does at boot-time). > But on PII+, I think it's the other way round. Ok, so what should int_fast8_t be? An int or a signed char? Right, MartinS
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |