summaryrefslogtreecommitdiff
path: root/core/src/main/scala/chisel3/internal/MonoConnect.scala
diff options
context:
space:
mode:
authormergify[bot]2022-11-11 01:40:53 +0000
committerGitHub2022-11-11 01:40:53 +0000
commitc8046636a25474be4c547c6fe9c6d742ea7b1d13 (patch)
treeb637bbb18def8a496f2b1ca40917d7c79cd44c13 /core/src/main/scala/chisel3/internal/MonoConnect.scala
parentc70e5bebaeaf5b0bd54ee84dc644ddd6973a1b86 (diff)
Change RawModule._commands to a VectorBuilder (backport #2839) (#2841)
* Change RawModule._commands to a VectorBuilder (#2839) * Change RawModule._commands to a VectorBuilder Use the resulting Vector to build the underlying Component's commands and then use those instead of copying the original ArrayBuffer when iterating on commands. Previously, the Component was using a List to hold the commands which is particularly memory inefficient, especially for large modules. * Optimize Converter's handling of Seq[Command] It previously converted the Commands to a List (which, while not captured in the type system, they were already a List) and then used head and tail iteration. This is less efficient with the new underlying Vector implementation. (cherry picked from commit 48a1ef0a3872c6b68d46145764d977926923a270) * Waive false binary compatibility failures Co-authored-by: Jack Koenig <koenig@sifive.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Diffstat (limited to 'core/src/main/scala/chisel3/internal/MonoConnect.scala')
0 files changed, 0 insertions, 0 deletions