[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: Thread-local malloc discussion summary

>Is there a way for the front-end to detect that any plugins actually exist,
>first? I'm already seeing a 10% difference in performance between SLAPI and
>non-SLAPI compiles, even though I have no SLAPI plugins. Anyway, if we can
>tell in advance that there are no SLAPI plugins in effect for this operation,
>that would allow us to work around it at runtime.

doPluginFNs() could easily be enhanced to return whether any plugins were
invoked instead of returning LDAP_SUCCESS both for no plugins and successful
invocation of all plugins.

In the case of the filters, you probably need another function to test 
whether any plugins would be invoked first, too, eg. testPluginsFNs().

-- Luke

Luke Howard | PADL Software Pty Ltd | www.padl.com