Results 1 to 5 of 5

Thread: speed datatype

  1. #1

    Thread Starter
    Banned nareth's Avatar
    Join Date
    Jun 2004
    Posts
    1,206

    speed datatype

    what one is the faster datatype that holds numbers?

    byte
    single
    integer
    long

    ...

  2. #2
    PowerPoster
    Join Date
    Oct 2002
    Location
    British Columbia
    Posts
    9,758

    Re: speed datatype

    The order is Long, Integer, Byte, everything else. The Long datatype is 32 bits which matches the CPU. Every other datatype require extra CPU cycles.

    Optimizing

  3. #3
    Addicted Member Luke K's Avatar
    Join Date
    Jun 2004
    Location
    Perth, Australia
    Posts
    183

    Re: speed datatype

    It's not a matter of using the fastest data type nareth, its about using the datatype that best suits the number you are trying to use
    Artificial Intelligence At War! - The best game of its genre
    Program your own robot and watch it fight in 3d!
    Droidarena 3

    If I have been useful, please Rate My Post

    Support FireFox -
    Microsoft Visual Studio .NET Professional 2003
    Microsoft Visual Studio 6, Enterprise Edition
    Microsoft Windows XP Professional, Service Pack 2

  4. #4

    Thread Starter
    Banned nareth's Avatar
    Join Date
    Jun 2004
    Posts
    1,206

    Re: speed datatype

    thats usefull...

  5. #5

    Thread Starter
    Banned nareth's Avatar
    Join Date
    Jun 2004
    Posts
    1,206

    Re: speed datatype

    Quote Originally Posted by Luke K
    It's not a matter of using the fastest data type nareth, its about using the datatype that best suits the number you are trying to use
    no its not. speed is a big matter for what im programming. dont give these comments if you dont know the project.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width