show compiled-update in README

This commit is contained in:
Nathan Marz 2015-05-13 09:50:38 -04:00
parent 31fbb0b018
commit 96c5db7a35

View file

@ -148,7 +148,7 @@ Finally, you can make `select` and `update` work much faster by precompiling you
(def precompiled (comp-paths ALL :a even?))
(update [ALL :a even?] inc structure)
(update precompiled inc structure)
(compiled-update precompiled inc structure)
```
Depending on the details of the selector and the data being transformed, precompiling can sometimes provide more than a 10x speedup.