I am interested in how to improve performance, which seems not the
issue for me, though.

These are my computing environments:

laptop: HP MODEL nc6320
OS: Windows XP
CPU: 1.66GHz
RAM: 2GB

Also, the gvim.exe Memory Usage is less than 7MB with or without my
plugin.

My own data file is over 32K lines, and the Chinese shows up within
one second after I type ma<C-I>, as shown on my screenshot.  If I
typed <C-I> on empty space, I did find it is kind of "hanging" and I
had to type <C-C> to stop it. However, it makes little sense to type
<C-I> over empty space.

I also tried to sort the data file every time after I do update, but
it makes no difference in performance to me.

It would be interesting to know if it makes difference if you cut the
sample data file by half?

By the way, I disabled the standard $VIMRUNTIME/plugin directory.

Thanks

Sean




On Jan 3, 8:31 pm, anhnmncb <[email protected]> wrote:
> On 2009-01-04, Sean wrote:
>
> > Hi,
>
> > I just uploaded a script used as an IME (Input Method Editor) for
> > typing Chinese as an example:
> >http://vim.sourceforge.net/scripts/script.php?script_id=2506
>
> > The screen-shot can be found 
> > onhttp://maxiangjiang.googlepages.com/vim_ime.gif
>
> > For years, I have been dreaming of an independent IME to input Chinese
> > from within vim. After all, vim is a text editor, which should be able
> > to type in any language including CJK.  It is a pain to configure and
> > use the supported |+multi_byte_ime| API, which is dependent on
> > binaries outside of vim.
>
> > As a backgrounds to those who never used CJK, the IME is a big
> > business in Asian countries. The basic idea is how to input ten-
> > thousands of characters comfortably using English keyboard.
>
> > Now, I hope vim can jump the boat comfortably.
>
> Very interesting! But the speed is too slow and, if the word preceded is a
> Chinese, then it will make vim hang, so when I tried to
>
> imap <space> <C-x><C-u><C-u><C-p><C-n>
>
> it will make vim hang. :(
>
> Anyway, it's a good start.
>
>
>
> > Thanks
>
> > Sean
>
> --
> Regards,
> anhnmncb
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to