2235Re: Make langmap accept multi-byte characters
- Oct 14, 2006Konstantin Korikov wrote:
> > Thanks for taking a shot at this. I assume that the binary searchI think it's better to keep the code for now. Some people may compile
> > 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?
without the multi-byte feature to save on code.
> > Instead of using a fixed size array consider using a growarray. ThenGood.
> > 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 ///
- << Previous post in topic Next post in topic >>