Performance

  1. Avoid copying strings. Use pointers instead.
  2. Avoid repeated use of strlen().
Code Examples