anchor.diff:         f("-include(\"~s.hrl\").~n", [Mod]),
          f("-include(\"gpb.hrl\").~n"),
          "\n",
  -       f("-compile(nowarn_unused_function).~n"),
          %% Enabling inlining seems to cause performance to drop drastically
          %% I've seen decoding performance go down from 76000 msgs/s
          %% to about 10000 msgs/s for a set of mixed message samples.
          %% f("-compile(inline).~n"),
  -       "\n",
  +       %%
          f("encode_msg(Msg) ->~n"
            "    encode_msg(Msg, []).~n~n"),
          case proplists:get_value(verify, Opts, optionally) of
  
positive.code:      f("~p([], Bin) ->~n", [PackedFnName]),
       f("    Bin.~n~n")].
  
  format_type_encoders() ->
      [format_sint_encoder(),
       format_int_encoder(int32, 32),
       format_int_encoder(int64, 64),
       format_bool_encoder(),
       format_fixed_encoder(fixed32,  32, 'little'),
       format_fixed_encoder(sfixed32, 32, 'little-signed'),
       format_fixed_encoder(float,    32, 'little-float'),
       format_fixed_encoder(fixed64,  64, 'little'),
       format_fixed_encoder(sfixed64, 64, 'little-signed'),
       format_fixed_encoder(double,   64, 'little-float'),
       format_string_encoder(),
       format_bytes_encoder(),
       format_varint_encoder()].
  
  format_sint_encoder() ->
  
negative.code:     [format_enum_encoders(Defs, AnRes),
       format_msg_encoders(Defs),
       format_special_field_encoders(Defs),
       format_type_encoders(AnRes)
      ].
  
  format_enum_encoders(Defs, #anres{used_types=UsedTypes}) ->
  