Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Fatware
#7
If you want a library to be linked dynamically then you cannot determine which functions will be called at compile time, therefore you need to compile all of them. If a library is statically linked then you may be able to remove some unused functions. The virtual memory system in modern operating systems means that only the parts of a dynamic library that you are actually using are likely to be loaded into memory.

Like na_th_an said its not the code that takes up huge amounts of space, its all the other stuff. Lots of things in computer science have a memory space/execution speed tradeoff. Hard disk space and ram are cheap and plentiful these days so it often makes sense to go with the latter.
esus saves.... Passes to Moses, shoots, he scores!
Reply


Messages In This Thread
Fatware - by wallace - 09-17-2006, 10:46 PM
Fatware - by shiftLynx - 09-17-2006, 11:26 PM
Fatware - by NecrosIhsan - 09-17-2006, 11:48 PM
Fatware - by LooseCaboose - 09-18-2006, 03:06 AM
Fatware - by wallace - 09-18-2006, 03:37 AM
Fatware - by na_th_an - 09-18-2006, 11:41 AM
Fatware - by LooseCaboose - 09-18-2006, 12:45 PM
Fatware - by na_th_an - 09-18-2006, 04:05 PM
Fatware - by wallace - 09-18-2006, 06:02 PM
Fatware - by Rattrapmax6 - 09-18-2006, 06:11 PM
Fatware - by wallace - 09-18-2006, 09:48 PM
Fatware - by LooseCaboose - 09-19-2006, 01:00 AM
Fatware - by DrV - 09-19-2006, 02:05 AM
Fatware - by na_th_an - 09-19-2006, 12:11 PM
Fatware - by LooseCaboose - 09-19-2006, 01:25 PM
Fatware - by Hard Rock - 09-19-2006, 07:53 PM
Fatware - by wallace - 09-19-2006, 09:42 PM
Fatware - by marzecTM - 09-19-2006, 10:21 PM
Fatware - by Hard Rock - 09-19-2006, 10:22 PM
Fatware - by thegrogen - 09-20-2006, 12:09 AM
Fatware - by Kevin_theprogrammer - 09-20-2006, 06:35 AM
Fatware - by na_th_an - 09-20-2006, 02:32 PM
Fatware - by marzecTM - 09-20-2006, 11:12 PM
Fatware - by na_th_an - 09-25-2006, 08:53 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)