LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 11-28-2003, 04:13 PM   #1
linuxanswer
Member
 
Registered: Oct 2003
Distribution: woodY 3.0 stable
Posts: 61

Rep: Reputation: 15
signed ....


one of the best ways to optimate the compiling is to use signed before an int value?Why


where can i find more document about this type of declaration of a func?
function(int type, .... );
 
Old 11-28-2003, 05:25 PM   #2
jim mcnamara
Member
 
Registered: May 2002
Posts: 964

Rep: Reputation: 36
By default, int already has 'signed' in front of it.

You should worry less about how fast something compiles and more about how fast something runs. I think that is what you may mean.
 
Old 11-28-2003, 05:25 PM   #3
infamous41md
Member
 
Registered: Mar 2003
Posts: 804

Rep: Reputation: 30
im not really sure what u are trying to ask? an integer is a signed type, an unsigned integer is an unsigned type.
 
Old 11-28-2003, 09:20 PM   #4
coolman0stress
Member
 
Registered: Jun 2003
Location: Toronto, Ontario, Canada
Posts: 288

Rep: Reputation: 30
unsigned would actually be a bit faster
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Determine if a signed integer is negative in C lowpro2k3 Programming 20 08-16-2005 09:20 AM
Clean Email not Signed Megrain Linux - Newbie 2 07-14-2005 02:23 AM
Why new kernels 2.6.11.1 and 2.6.11.2 aren't signed by Linus? Linux.tar.gz Linux - General 1 03-09-2005 05:47 PM
404 new members signed up today! fancypiper General 5 09-02-2003 03:21 PM
How do I create a self signed SSL certificate? mongoose Linux - Software 2 04-15-2003 06:46 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration