dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #20228
Re: [noreply@xxxxxxxxxxxxx: [Branch ~dolfin-core/dolfin/main] Rev 5309: Simplify STLMatrix and fix small bug.]
-
To:
dolfin@xxxxxxxxxxxxxxxxxxx
-
From:
"Garth N. Wells" <gnw20@xxxxxxxxx>
-
Date:
Mon, 22 Nov 2010 17:19:10 +0000
-
In-reply-to:
<20101122171426.GG8860@eowyn>
-
User-agent:
Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6
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