(19)
(11) EP 0 774 711 A3

(12) EUROPEAN PATENT APPLICATION

(88) Date of publication A3:
11.06.1997 Bulletin 1997/24

(43) Date of publication A2:
21.05.1997 Bulletin 1997/21

(21) Application number: 96308232.6

(22) Date of filing: 14.11.1996
(51) International Patent Classification (IPC)6G06F 7/24
(84) Designated Contracting States:
DE FR GB IE

(30) Priority: 20.11.1995 US 559610

(71) Applicant: FORE SYSTEMS, INC.
Warrendale, Pennsylvania 15086-7535 (US)

(72) Inventor:
  • Bennett, Jon C.R.
    Ambridge, PA 15003 (US)

(74) Representative: Jones, Michael Raymond 
Haseltine Lake & Co., Imperial House, 15-19 Kingsway
London WC2B 6UD
London WC2B 6UD (GB)

   


(54) A method and apparatus for sorting elements


(57) The present invention pertains to a method for sorting. The method comprises the steps of forming a decision tree 10 comprised of at least a first level 12 having at least a first entry 14 with either a first result 16 or a second result 18 corresponding to values as they fill a queue 20. Then, there is the step of reading the result in the first entry 14 of the first level 12 of the decision tree 10. Next, there is the step of choosing the value in the first entry 14 of the first level 12 from the queue 20 corresponding to the result in the first entry 14. The present invention comprises a priority queue. The priority queue comprises an array 42 in which elements 22 are stored. Also, the priority queue comprises a controller 40 which stores the elements 22 in the array 42 with no memory reads and a constant number of memory writes so a smallest element in the array 42 can be identified.







Search report