On Wed, 24 Mar 1999, jon * wrote:
> > The server is approximately 5% slower at execution time under some
> > platforms because position independent code (PIC) sometimes needs
> > complicated assembler tricks
> > for relative addressing which are not necessarily as fast as
> > absolute addressing.
>
> i'm not sure if execution time is for each request or at startup...
I believe it is on a per-request basis; but it doesn't necessarily mean
that the entire server will be 5% slower, just that functions which need
to be accessed via dynamic addressing will be slower. That'll also depend
on operating system, how many modules are dynamically loaded, and the
internals of the functions in question -- lots of nested function calls
(in dynamic code) will certainly be slower, but a single function with a
big, hairy, tight loop won't necessarily change much.
Still, for performance freaks, DSOs are not ideal. They are ideal for for
people who want to distribute their code without making (or allowing)
their clients recompile it. Using DSOs is alright for people with
production environments who want to avoid recompiling the whole server (so
long as it doesn't give a false sense of security) when they update a
single module.
Ed
----------------------------------------------------------------
To subscribe: [EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
Archives and Other: <http://java.apache.org/main/mail.html/>
Problems?: [EMAIL PROTECTED]