diff options
author | Joshua Haberman <joshua@reverberate.org> | 2010-07-11 16:58:44 -0700 |
---|---|---|
committer | Joshua Haberman <joshua@reverberate.org> | 2010-07-11 16:58:44 -0700 |
commit | fcfc37e7d41f87bc9ff5ecfb64e0aebb3457c633 (patch) | |
tree | 0f18f8158ad6c1048a79f62d60719891898411da /Makefile | |
parent | c7a95061a7c02ffeebd71eeb56bf19fc1c1797dd (diff) |
Reduce decoder memory usage.
The "field" entry was only being used to determine
whether we were inside a group, but the "end_offset"
member contains enough information to tell us that.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -54,7 +54,7 @@ OTHERSRC=src/upb_encoder.c src/upb_text.c # Override the optimization level for upb_def.o, because it is not in the # critical path but gets very large when -O3 is used. core/upb_def.o: core/upb_def.c - $(CC) $(CFLAGS) $(CPPFLAGS) -O0 -c -o $@ $< + $(CC) $(CFLAGS) $(CPPFLAGS) -Os -c -o $@ $< core/upb_def.lo: core/upb_def.c $(CC) $(CFLAGS) $(CPPFLAGS) -Os -c -o $@ $< -fPIC |