Loading ...
Sorry, an error occurred while loading the content.

2235Re: Make langmap accept multi-byte characters

Expand Messages
  • Bram Moolenaar
    Oct 14, 2006
    • 0 Attachment
      Konstantin Korikov wrote:

      > > Thanks for taking a shot at this. I assume that the binary search
      > > lookup should be fast enough in most situations.
      > It is means that I should remove old algorithm completely? It is means
      > that the program should use binary search lookup even when FEAT_MBYTE
      > is not defined?

      I think it's better to keep the code for now. Some people may compile
      without the multi-byte feature to save on code.

      > > Instead of using a fixed size array consider using a growarray. Then
      > > the size won't be limited. See ga_init() and related functions.
      > Thanks for advice. I will rewrite the patch.


      Those who live by the sword get shot by those who don't.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ download, build and distribute -- http://www.A-A-P.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
    • Show all 10 messages in this topic