I just added a blog post about faster blockchain scanning through bitcoind RPC calls, by replacing gettransaction queries per transaction with getblock false and DIY block and transaction decoding.
The blog post is here:
http://upcoder.com/8/fast-blockchain-scanning/Feedback welcome.
Thomas