(Note: this falls into the category of "microptimization" but with my
current app that's important).

Something that consistently shows up in my timing with MOOSE and my new app
is DofObject::var_to_vg().

It is gets called in a number of places throughout DofObject... and I'm
wondering if it's currently implemented in the most optimal way.

It's doing a small loop in there and I'm wondering if it's necessary.  Is
it not possible to directly compute the var group?

vg_dof_base() seems to do some direct calculation - can we use that instead?

Derek
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Libmesh-devel mailing list
Libmesh-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/libmesh-devel

Reply via email to