summaryrefslogtreecommitdiff
path: root/src/upb_stream.h
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2011-03-21 10:44:19 -0700
committerJoshua Haberman <jhaberman@gmail.com>2011-03-21 10:44:19 -0700
commit484809c272df7b1f05e56d09f6a5e8e0f340cac4 (patch)
tree3b8c70dc4b14e68dc3e1c34024fd795b69af7715 /src/upb_stream.h
parentb796c1b31729e3e8f2501c30c0b8856f773b555c (diff)
Key dispatch table by (num x type), for modest perf improvement.
This allows us to remove one type check in the critical path.
Diffstat (limited to 'src/upb_stream.h')
-rw-r--r--src/upb_stream.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/upb_stream.h b/src/upb_stream.h
index f2ae11c..783f6c8 100644
--- a/src/upb_stream.h
+++ b/src/upb_stream.h
@@ -84,7 +84,6 @@ typedef upb_flow_t (*upb_unknownval_handler_t)(
typedef struct {
bool junk;
upb_fieldtype_t type;
- upb_wire_type_t native_wire_type;
// For upb_issubmsg(f) only, the index into the msgdef array of the submsg.
// -1 if unset (indicates that submsg should be skipped).
int32_t msgent_index;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback