Re: Native Code vs PCode

Tech-Archive recommends: Fix windows errors by optimizing your registry



On Fri, 2 Sep 2005 08:15:42 +0200, "Ivan Debono"
<ivanmdeb@xxxxxxxxxxx> wrote:

>Hi all,
>
>I've got some activex dlls that access a database, retrieve recordsets, loop
>through them, calculate stuff, etc...
>
>Would it make a big difference if I compiled to PCode instead of Native Code
>(Fast Code)??
>
>The difference is in the size which is important for me as I need to package
>everything in a setup file and make it available on the internet for
>downloading.

Very unlikely you would see much improvement with native unless you're
doing a ~lot~ of calculations. It's easy enough to build & test each
way though if you want to be certain.

-Tom
MVP - Visual Basic
(please post replies to the newsgroup)
.



Relevant Pages

  • Native Code vs PCode
    ... I've got some activex dlls that access a database, retrieve recordsets, loop ... Would it make a big difference if I compiled to PCode instead of Native Code ...
    (microsoft.public.vb.general.discussion)
  • Re: Processor question
    ... I'm sure the compiler is awfully naieve though, ... Count exactly how many instructions it has to execute to get around the loop once. ... Old x86 code has to compute 32 bit operations as two 16 bit native code ops so it will be slower. ... Cache structure really matters when you are handling bulk data that is large compared to the cache sizeof the processor. ...
    (sci.electronics.design)
  • Re: Python and Scheme
    ... I guess the error is just ignored being in the head of begin since it ... Perhaps it even simply removes the useless computation when compiling ... remove the useless declaration from the generated native code, ... (let loop ((n 1000)) ...
    (comp.lang.scheme)
  • Re: pause the execution of code in one routine while letting the app respond to keyboard
    ... This is native code. ... I'm looping and within the loop this would work ... Or receive the messages while sleeping - either way would be OK ... keyboard messages. ...
    (microsoft.public.dotnet.languages.vc)