From e46e68857c63e58170d94850b4c2195a102f4a3a Mon Sep 17 00:00:00 2001 From: ragnar <git@rmgk.de> Date: Sun, 8 Dec 2024 01:53:58 +0100 Subject: [PATCH] hack performance optimize --- .../rdts/datatypes/experiments/protocols/Membership.scala | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Modules/RDTs/src/main/scala/rdts/datatypes/experiments/protocols/Membership.scala b/Modules/RDTs/src/main/scala/rdts/datatypes/experiments/protocols/Membership.scala index ec170ae20..8da12fa52 100644 --- a/Modules/RDTs/src/main/scala/rdts/datatypes/experiments/protocols/Membership.scala +++ b/Modules/RDTs/src/main/scala/rdts/datatypes/experiments/protocols/Membership.scala @@ -35,6 +35,9 @@ case class Membership[A, C[_], D[_]]( log: Map[Long, A] = Map.empty, ) { + //TODO: investigate further … + override def toString: String = "MEMBERSHIP TO STRING MAKES SPEC TESTS SLOW, WTF" + private def bottomRound(using Consensus[C], Consensus[D]): MembershipRound[A, C, D] = MembershipRound.bottom[A, C, D].empty