Re: Fastcode Library Design



Hi

Each library type has its own unique set of strengths and weaknesses. Help
me enumerate them.

Direct Calling:

Pro

Simple
The smallest possible exe
No additional RAM usage.

Cons

Compiled for one target only

Conditional Compilation:

Pro

The smallest possible exe
No additional RAM usage.

Cons

Compiled for one target only

CPU ID based:

Pro

The fastest function for the given target is automatically used.

Cons

All functions are compiled into the exe -> a fat exe

Patching

Pro

All calls to RTL functions from within the RTL is replaced without the need
of the RTL to be recompiled.
The fastest function for the given target is automatically used.

Cons

A fat exe.
One function is 4 kB big in RAM always ????
All functions are loaded into RAM, even if not used.
Not all people feel comfortable with some "hacking" they do not understand.
A complex solution

Best regards
Dennis


.



Relevant Pages

  • Re: Fastcode Library Design
    ... Pro ... The smallest possible exe ... No additional RAM usage. ... Compiled for one target only ...
    (borland.public.delphi.language.basm)
  • Re: This is best place to get shopping help for new PCs, honest !!!
    ... USB 1.1 and USB 2.0 ... The Intel Mac laptops don't come with these features? ... loaded with the XP Media Center version of the OS, instead of XP Pro. ... ominous disclaimer that "When using 4GB, the amount of ram available ...
    (comp.sys.mac.advocacy)
  • Re: Computer crashes with Publisher
    ... XP Pro on a Celeron with 196. ... Would I dump a lot of money in a 633 Celeron? ... Mary's suggested upgrading the video driver twice. ... RAM - she could find another 128 for a decent price and I'll stand my ground ...
    (microsoft.public.publisher)
  • Re: More on the Apple Tax
    ... For a total price of $2898. ... It's YA unfortunate example of Gizmodo trying to take a cheap shot at ... although it is aided by Apple's reluctance to sell cheap RAM. ... Pro to save $1200. ...
    (comp.sys.mac.advocacy)
  • Re: Requirements for Vegas Pro 10?
    ... Pro 10 are a 2 GHz CPU with a recommended 2 Gb of RAM. ... the video jittery instead of smooth when previewing the video in Vegas ...
    (rec.video.desktop)