|
|
|
@ -73,8 +73,9 @@ Now look for gaps: |
|
|
|
: 1426 |
|
|
|
: 1426 |
|
|
|
|
|
|
|
|
|
|
|
Alternatively, collect all element of the path that are –in the |
|
|
|
Alternatively, collect all element of the path that are –in the |
|
|
|
taxicab distance– closer than 20 to any given element of the path; |
|
|
|
taxicab distance– closer than 20 to any given element of the path, |
|
|
|
then compute the time saved by using the cheat |
|
|
|
then compute the time saved by using the cheat and filter only those |
|
|
|
|
|
|
|
that save at least 100 picoseconds |
|
|
|
#+begin_src emacs-lisp |
|
|
|
#+begin_src emacs-lisp |
|
|
|
(length |
|
|
|
(length |
|
|
|
(--filter (>= it 100) |
|
|
|
(--filter (>= it 100) |
|
|
|
|