projects
/
yosys.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b959bf7
)
Comment O(N) -> O(N^2)
author
Eddie Hung
<eddie@fpgeh.com>
Fri, 7 Jun 2019 22:39:12 +0000
(15:39 -0700)
committer
Eddie Hung
<eddie@fpgeh.com>
Fri, 7 Jun 2019 22:39:12 +0000
(15:39 -0700)
passes/opt/muxpack.cc
patch
|
blob
|
history
diff --git
a/passes/opt/muxpack.cc
b/passes/opt/muxpack.cc
index 4b02df394885ebbbe2fa2463705f255f6ff82b43..f01d5474d854fc2f372da97067336a9a1bf850a7 100644
(file)
--- a/
passes/opt/muxpack.cc
+++ b/
passes/opt/muxpack.cc
@@
-62,7
+62,7
@@
struct ExclusiveDatabase
bool query(const SigSpec& sig1, const SigSpec& sig2) const
{
- // FIXME: O(N)
+ // FIXME: O(N
^2
)
for (auto bit1 : sig1.bits()) {
auto it = sig_cmp_prev.find(bit1);
if (it == sig_cmp_prev.end())