Removing sorting on deq
This commit is contained in:
parent
19ab1bb980
commit
85f38415bc
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue
Block a user