/[Apache-SVN]
ViewVC logotype

Revision 899721


Jump to revision: Previous Next
Author: bryanduxbury
Date: Fri Jan 15 17:20:04 2010 UTC (14 years, 9 months ago)
Changed paths: 1
Log Message:
THRIFT-674. java: Generated read() should just switch directly on field.id

This patch gets rid of an unnecessary map lookup and null check in generated structs' read method, amounting a noticeable performance improvement.

Changed paths

Path Details
Directoryincubator/thrift/trunk/compiler/cpp/src/generate/t_java_generator.cc modified , text changed

infrastructure at apache.org
ViewVC Help
Powered by ViewVC 1.1.26