1
0
mirror of synced 2026-01-19 09:38:22 +00:00
Rick Altherr 0265d7b100 rtlil: speed up SigSpec::sort_and_unify()
std::set<> internally is often a red-black tree which is fairly
expensive to create but fast to lookup.  In the case of
sort_and_unify(), a set<> is constructed as a temporary object to
attempt to speed up lookups.  Being a temporarily, however, the cost of
creation far outweights the lookup improvement and is a net performance
loss.  Instead, sort the vector<> that already exists and then apply
std::unique().
2016-01-31 09:20:16 -08:00
..
2015-09-01 12:40:36 +02:00
2015-07-02 11:14:30 +02:00
2015-09-25 12:23:11 +02:00
2015-07-02 11:14:30 +02:00
2015-07-02 11:14:30 +02:00
2015-07-02 11:14:30 +02:00
2015-09-01 12:40:12 +02:00
2015-07-02 11:14:30 +02:00
2016-01-31 16:12:35 +01:00
2015-11-30 19:43:52 +01:00
2015-07-02 11:14:30 +02:00
2015-08-14 10:56:05 +02:00
2015-10-27 15:04:47 +01:00