[prev in list] [next in list] [prev in thread] [next in thread]
List: cfe-dev
Subject: [cfe-dev] libc++ operator==(vector,vector)
From: Shriramana Sharma <samjnaa () gmail ! com>
Date: 2013-06-30 2:30:48
Message-ID: CAH-HCWX7VQQ8-hiUknxVDonZrTF-F_EM39+-kxKU8MWWxG-OqA () mail ! gmail ! com
[Download RAW message or body]
Comparing libc++'s operator==(vector,vector) from latest SVN with the
libstdc++ implementation (v4.8.1), I find that libc++ creates a
separate variable for x.size() and then compares with y.size() whereas
libstdc++ directly compares x.size() with y.size(). Is there any
(optimization) reason that libc++ creates this extra variable?
Thanks.
--
Shriramana Sharma ஶ்ரீரமணஶர்மா श्रीरमणशर्मा
_______________________________________________
cfe-dev mailing list
cfe-dev@cs.uiuc.edu
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic