Removing sorting on deq

This commit is contained in:
Jay McCarthy 2010-10-05 16:01:42 -06:00
parent 19ab1bb980
commit 85f38415bc

View File

@ -30,9 +30,7 @@
(define (pqueue-dequeue! pq)
(match-define (pqueue dir) pq)
(match (sort (directory-list (pqueue-dest dir))
string<=?
#:key path->string)
(match (directory-list (pqueue-dest dir))
[(list-rest choice _)
(define dest
(build-path (pqueue-dest dir) choice))