fluent/fluentd — Issue #14: Fluent::BufferChunk should support msgpack_map
Author: repeatedly
Created: 2011-10-30 17:57:57+00:00
State: open

fluent-plugin-mongo has follwing code:

```ruby
records = []
chunk.msgpack_each { |record|
record[@time_key] = Time.at(record[@time_key]) if @include_time_key
records << record
}
```

I think this pattern is often-used in some OutputPlugins.

BufferChunk#msgpack_map gets rid of such pattern and
we have the chance to improve speed than msgpack_each.