Faster Small-Constant-Periodic Merging Networks

Abstract

We consider the problem of merging two sorted sequences on a comparator network that is used repeatedly, that is, if the output is not sorted, the network is applied again using the output as input. The challenging task is to construct such networks of small depth (called a period in this context). In our previous paper entitled Faster 3-Periodic Merging Network we reduced twice the time of merging on 3-periodic networks, i.e. from 12 N to 6 N, compared to the first construction given by Kutyowski, Lory\'s and Oesterdikhoff. Note that merging on 2-periodic networks require linear time. In this paper we extend our construction, which is based on Canfield and Williamson ( N)-periodic sorter, and the analysis from that paper to any period p 4. For p 4 our p-periodic network merges two sorted sequences of length N/2 in at most 2pp-2 N + pp-8p-2 rounds. The previous bound given by Kutyowski at al. was 2.25pp-2.42 N. That means, for example, that our 4-periodic merging networks work in time upper-bounded by 4 N and our 6-periodic ones in time upper-bounded by 3 N compared to the corresponding 5.67 N and 3.8 N previous bounds. Our construction is regular and follows the same periodification schema, whereas some additional techniques were used previously to tune the construction for p 4. Moreover, our networks are also periodic sorters and tests on random permutations show that average sorting time is closed to 2 N.

0

Turn this paper into a lesson

ArcXiv compiles a structured reading guide from this paper's metadata: plain-English importance, contributions, prerequisite concepts, which sections to read first, flashcards, and a quiz. Grounded in the abstract, never invented.

Discussion (0)

Sign in to join the discussion.

Loading comments…