From d1f78c88faafea7e672c7c45e20f6f040942a92a Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Wed, 3 Jun 2009 22:06:24 -0700 Subject: A bunch more work, a fast table for field lookup. --- upb_struct.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'upb_struct.h') diff --git a/upb_struct.h b/upb_struct.h index a64b3d4..7d5c219 100644 --- a/upb_struct.h +++ b/upb_struct.h @@ -57,8 +57,8 @@ struct upb_struct_definition { }; /* While these are written to be as fast as possible, it will still be faster - * cache the results of this lookup if possible. These return NULL if no such - * field is found. */ + * to cache the results of this lookup if possible. These return NULL if no + * such field is found. */ struct upb_struct_field *upb_struct_find_field_by_name( struct upb_struct_definition *d, char *name); struct upb_struct_field *upb_struct_find_field_by_number( -- cgit v1.2.3