www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/10/08/18:09:59

From: Laurence Withers <lwithers AT lwithers DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: The "long long int" type: is it fast or slow?
Date: Fri, 2 Oct 1998 18:29:53 +0100
Organization: IP
Message-ID: <PGyJdEAR2QF2EwIl@lwithers.demon.co.uk>
NNTP-Posting-Host: lwithers.demon.co.uk
X-NNTP-Posting-Host: lwithers.demon.co.uk:194.222.80.1
X-Trace: news.demon.co.uk 907351993 nnrp-02:10331 NO-IDENT lwithers.demon.co.uk:194.222.80.1
X-Complaints-To: abuse AT demon DOT net
MIME-Version: 1.0
X-Newsreader: Turnpike (32) Trial Version 3.05 <hlxPItNSbwmYsHzfxhqD1EqxE6>
Lines: 15
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hi,

Is the GNU C++ "long long int" type (64 bits) fast on the Intel platform
(using DOS or Windows)? I am mainly interested in bitwise operations (&
| ! << >> etc) and comparisons (== <= >= !=), rather than arithmetic.

By fast, I mean is it any slower (or even significantly slower) than the
equivalent operations with 32 bit integers? I couldn't find anything in
the docs or the FAQ; if I missed something, please point it out.

Thanks for your help, and bye for now,
-- 
Laurence Withers, mailto:lwithers AT lwithers DOT demon DOT co DOT uk
Integrated Peripherals Operating System Project Leader || OPES Project
Projects' homepage is at: http://www.lwithers.demon.co.uk/       Leader

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019