MCPcopy Create free account
hub / github.com/TheAlgorithms/Python / __init__

Method __init__

sorts/external_sort.py:110–111  ·  view source on GitHub ↗
(self, block_size)

Source from the content-addressed store, hash-verified

108
109class ExternalSort:
110 def __init__(self, block_size):
111 self.block_size = block_size
112
113 def sort(self, filename, sort_key=None):
114 num_blocks = self.get_number_blocks(filename, self.block_size)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected