[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [pdf-devel] System 64-bit types
From: |
jemarch |
Subject: |
Re: [pdf-devel] System 64-bit types |
Date: |
Tue, 13 May 2008 20:05:51 +0200 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.6 Emacs/23.0.60 (powerpc-unknown-linux-gnu) MULE/6.0 (HANACHIRUSATO) |
> #ifdef PDF_USE_BUILTIN_64BIT_SUPPORT
> /* Use the pdf_i64 implementation */
> pdf_i64_set (number, 20);
> #else
> /* Simply use the scalar type */
> number = 20;
> #endif
>
> Your approach has the advantage of providing a uniform interface for
> the modules using 'pdf_i64', but I am thinking more in the efficiency
> of the code and in the fact that most 32bit machines/OS/compilers
> provides a native 64bit scalar type (such as long long).
>
> What do you think?
>
Uff... I don't like it... And macros instead of functions if 64bit
numbers are supported by the OS? Is it possible?
Well, to use preprocessor macros instead of functions would achieve
better performance..
Daniel (all, oppinions?), what do you think?
--
Jose E. Marchesi <address@hidden>
<address@hidden>
GNU Spain http://es.gnu.org
GNU Project http://www.gnu.org
- [pdf-devel] System 64-bit types, Aleksander Morgado, 2008/05/11
- [pdf-devel] Re: System 64-bit types, Daniel Vidal, 2008/05/12
- Re: [pdf-devel] System 64-bit types, jemarch, 2008/05/13
- Re: [pdf-devel] System 64-bit types, Aleksander Morgado, 2008/05/13
- Re: [pdf-devel] System 64-bit types,
jemarch <=
- Re: [pdf-devel] System 64-bit types, Juan Pedro Bolivar Puente, 2008/05/13
- Re: [pdf-devel] System 64-bit types, Juan Pedro Bolivar Puente, 2008/05/13
- Re: [pdf-devel] System 64-bit types, Daniel Vidal, 2008/05/14
- Re: [pdf-devel] System 64-bit types, jemarch, 2008/05/14
- Re: [pdf-devel] System 64-bit types, Daniel Vidal, 2008/05/25