On Mar 23, 7:16 pm, Kenton Varda <ken...@google.com> wrote: > BTW, you should always compile with -DNDEBUG unless you are building a debug > build. It strips out several debug checks which makes things faster.
Note that 'NDEBUG' isnt' a Google-ism, its a Standard C-ism. It disables the assert() macro, removing all assertions from your code. This is generally good practice for production code, but just be careful that you're not doing anything with assert() that has side effects you depend on, like assert (++i < 100); or something silly like that. Never been bit by this myself, but I've seen it bite others... --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To post to this group, send email to protobuf@googlegroups.com To unsubscribe from this group, send email to protobuf+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/protobuf?hl=en -~----------~----~----~----~------~----~------~--~---