Skip to content

Commit

Permalink
perf: faster line count for the hub
Browse files Browse the repository at this point in the history
  • Loading branch information
delehef committed Dec 18, 2023
1 parent 4816c70 commit 22b72d7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ public Hub() {
this.rom,
this.shf,
this.trm,
// this.txnData,
// this.txnData,
this.stp,
this.wcp),
this.precompileLimitModules.stream())
Expand Down Expand Up @@ -271,7 +271,7 @@ public List<Module> getModulesToTrace() {
this.romLex,
this.shf,
this.stp,
// this.txnData,
// this.txnData,
this.wcp);
}

Expand All @@ -296,7 +296,7 @@ public List<Module> getModulesToCount() {
this.rom,
this.shf,
this.trm,
// this.txnData,
// this.txnData,
this.wcp),
this.precompileLimitModules.stream())
.toList();
Expand Down Expand Up @@ -508,7 +508,7 @@ void triggerModules(MessageFrame frame) {
// TODO: this.oob.tracePreOpcode(frame);
}
if (this.pch.signals().stp()) {
// this.stp.tracePreOpcode(frame);
// this.stp.tracePreOpcode(frame);
}
if (this.pch.signals().exp()) {
this.modexp.tracePreOpcode(frame);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ public void tracePreOpcode(MessageFrame frame) {
codeIdentifierBeforeLexOrder += 1;
this.chunks.add(
new RomChunk(
extAddress,
calledAddress,
depNumber,
isDeploying,
true,
Expand Down

0 comments on commit 22b72d7

Please sign in to comment.