> > One reason for the bloat is that the named parameter passing scheme
causes
> the Integer stuff to be linked in, even if you don't use the Integer class
> or ciphers that use it. You can work around this by editing algparam.cpp
> to remove any references to Integer. That should be sufficient for the
> linker to strip out the Integer code.
>
> I'll try that out later and report back with stats.

I commented out the only line of code in algparam.cpp (and replaced it with
a throw, just in case I need it one day).  Now my code is now only 8k larger
than the 4.2 equivialent, which is much better - though still not ideal.  Do
you have any idea what might be contributing to the rest Wei?  Is it due to
the heavy template usage?
--
gl

Reply via email to