yade-dev team mailing list archive
-
yade-dev team
-
Mailing list archive
-
Message #01805
Re: [deprecated list] dispatch, inheritance, virtual functions
Sorry, I did not think about that.
Has just realized it :)
______________________________
Anton Gladkyy
2009/8/21 Václav Šmilauer <eudoxos@xxxxxxxx>
> > Monolithic
> >
> > OMP_NUM_THREADS=1:
> > Iter/sec
> > r1712_thread1 83.4262
> > r1716_thread1 83.9633
> >
> >
> > OMP_NUM_THREADS=2:
> > Iter/sec
> > r1712_thread2 120.561
> > r1716_thread2 112.497
>
> Eh, and what did you test? ;-)
>
> Anyway, the impact will be close to zero as both InteractionDispatchers
> (and AABBMetaEngine as well) cache the functor so that they look up the
> dispatch matrix only once per interaction/body.
>
> If you used InteractionGeometryMetaEngine, InteractionPhysicsMetaEngine
> and ConstitutiveLawDispatcher separately, then the impact would be
> bigger.
>
> But don't bother. Anyone who cares about performance has switched to
> InteractionDispatchers long time ago.
>
> V.
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> Post to : yade-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~yade-dev<https://launchpad.net/%7Eyade-dev>
> More help : https://help.launchpad.net/ListHelp
>
References
-
dispatch, inheritance, virtual functions
From: Václav Šmilauer, 2009-08-20
-
Re: dispatch, inheritance, virtual functions
From: Václav Šmilauer, 2009-08-21
-
Re: [deprecated list] dispatch, inheritance, virtual functions
From: Janek Kozicki, 2009-08-21
-
Re: [deprecated list] dispatch, inheritance, virtual functions
From: Václav Šmilauer, 2009-08-21
-
Re: [deprecated list] dispatch, inheritance, virtual functions
From: Anton Gladky, 2009-08-21
-
Re: [deprecated list] dispatch, inheritance, virtual functions
From: Václav Šmilauer, 2009-08-21
-
Re: [deprecated list] dispatch, inheritance, virtual functions
From: Anton Gladky, 2009-08-21
-
Re: [deprecated list] dispatch, inheritance, virtual functions
From: Anton Gladky, 2009-08-21
-
Re: [deprecated list] dispatch, inheritance, virtual functions
From: Václav Šmilauer, 2009-08-21