<div dir="ltr"><span></span><span></span><span></span><br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
* Did you test your format on a slow HDD with caches dropped? It<br>
  must not be slower than the Python one (that one is way too slow<br>
  already) - I did, it seems to be faster (0.4 vs 0.68 seconds)<br>
  - I believe the database-based C rewrite was even much faster,<br>
  though<br></blockquote></span></div></div></div></blockquote><div>I tested with kyotocabinet backend and it was slower with dropped caches on a hard drive (1 second), which is the slow case I am most concerned with. Small  makes a difference. The code is at <a href="https://github.com/shawnl/command-not-found/tree/kyotocabinet">https://github.com/shawnl/command-not-found/tree/kyotocabinet</a><br></div></div></div></div>