Revert "Cache results in memory in serialized form"

This reverts commit 5197afb0c9f8ca9b73d51f12004df681df4fa3df.
In a multicore machine serializing in memory actually worsens performance.