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
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"
> >
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
...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
...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
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
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(