Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Ru Vuott
script = ms 1130 shared library = ms 1300 --- Dom 3/6/12, Emil Lenngren ha scritto: > Da: Emil Lenngren > Oggetto: Re: [Gambas-user] "shared library" (with inline assembler code) is > slow... > A: "mailing list for gambas users" > Data: Domenica 3 giug

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Emil Lenngren
t; Difference: ms 100 > > > > > --- Dom 3/6/12, Emil Lenngren ha scritto: > > > Da: Emil Lenngren > > Oggetto: Re: [Gambas-user] "shared library" (with inline assembler code) > is slow... > > A: "mailing list for gambas users" > >

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Ru Vuott
llisecond !!!  :-O > > > > ...I do not understand why > > > > > > > > > > --- Dom 3/6/12, Emil Lenngren > ha scritto: > > > > > Da: Emil Lenngren > > > Oggetto: Re: [Gambas-user] "shared library" (with > inline as

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Emil Lenngren
...passing 1 > billion...), in gambas console I have about 655 millisecond !!! :-O > > ...I do not understand why > > > > > --- Dom 3/6/12, Emil Lenngren ha scritto: > > > Da: Emil Lenngren > > Oggetto: Re: [Gambas-user] "shared library" (with

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Ru Vuott
...I do not understand why --- Dom 3/6/12, Emil Lenngren ha scritto: > Da: Emil Lenngren > Oggetto: Re: [Gambas-user] "shared library" (with inline assembler code) is > slow... > A: "mailing list for gambas users" > Data: Domenica 3 giugno 2012, 01:02

Re: [Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Emil Lenngren
Is the function itself slow or is it slow because of the call overhead of libffi? /Emil 2012/6/3 Ru Vuott > Hello Benoit, > > simply for a test I've made this simple C "shared library" .so (with > inline assembler code). I noted that if I use it from a Gambas program > (with Extern) it's very s

[Gambas-user] "shared library" (with inline assembler code) is slow...

2012-06-02 Thread Ru Vuott
Hello Benoit, simply for a test I've made this simple C "shared library" .so (with inline assembler code). I noted that if I use it from a Gambas program (with Extern) it's very slow. Why? static unsigned int car asm("raxregistro"); static unsigned int cbr asm("rbxregistro"); int hello(