localshred/protobuf — pull request #19 by bdewitt (2012-09-18 23:49:30+00:00)
Title: cache field definitions and add gc pausing in rpc_server configurations

2 changes that are worth mentioning -

1. Added field definition caching to the protobuf/message/message definition; needs a total refactor as the field values and the field definitions are mixed, but for now caching the field definitions in class instance variables helps with lookup

2. added changes that allows the gc to be disabled until send_response is called in the rpc server which allows the client to start parsing while the server collects the garbage; during profiling we saw as much as 84% of the time being in garbage collector