← Back to team overview

dolfin team mailing list archive

Re: [noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/main] Rev 5309: Simplify STLMatrix and fix small bug.]

 



On 22/11/10 17:14, Anders Logg wrote:
Did you compare the speed of find vs linear search?

Yes. I couldn't detect much of a different - std::find might be faster.

I also experimented using maps. I've pushed the code (but it's commented out for now).

Garth




I think I remember
that the simple linear search was faster in some test.

--
Anders



_______________________________________________
Mailing list: https://launchpad.net/~dolfin
Post to     : dolfin@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~dolfin
More help   : https://help.launchpad.net/ListHelp




References