yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #04947
Re: devirtualized functors
> from what I learned about C++, though never benchmarked it myself,
> removing vtable isn't going to speed up anything. How do you know
> that removing virtual functions is going to help? (benchmarks ? :)
Guesswork + some reading. Don't worry. If that doesn't help, it will be
reverted.
> Do you keep in mind that all serializable classes have vtable forced
> upon them, and even non-virtualized methods are called through vtable - AFAIK!
I don't think so, there is no reason for that.
Cheers, Vaclav
Follow ups
References