Skip to content

Commit

Permalink
all our performance problems are .toString 😂
Browse files Browse the repository at this point in the history
  • Loading branch information
rmgk committed Dec 8, 2024
1 parent e46e688 commit ab7b1e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import scala.collection.mutable

class KeyValueReplica(val uid: Uid, val votingReplicas: Set[Uid]) {

def log(msg: String): Unit =
inline def log(inline msg: String): Unit =
if false then println(s"[$uid] $msg")

private type ClusterState = Membership[ClusterData, Paxos, Paxos]
Expand Down

0 comments on commit ab7b1e3

Please sign in to comment.