MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / Deduplicater

Class Deduplicater

tools/scripts/massif-diff.py:94–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92
93
94class Deduplicater:
95 def __init__(self):
96 self.data = {}
97
98 def __call__(self, value):
99 return self.data.setdefault(value, value)
100
101
102class Node:

Callers 2

parseFunction · 0.85
massif-diff.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected