alexcrichton/cargo-registry — pull request #6 by sfackler (2014-09-30 02:59:37+00:00)
Title: Use a temp table for encode_many

Just using IN will be faster for small numbers of crates, so you might
want to switch implementations depending on crates.len(). The best
solution would be to use COPY, but I haven't implemented that yet.

I haven't actually tested this, but it compiles!