On 08/06/2013 23:48, Taro MURAOKA wrote:
Yeah, basic C is missing containers.  There are libraries for them, but
there doesn't seem to be one clear winner.

How about define common containers for Vim by C?
And rewriting Vim by using that containers gradually.

Absence of common containers in Vim, have caused duplication of
implementations like single linked list.

A down side of container libraries can be memory fragmentation and slow downs due to non-locality of related structures (assuming you mean container structures with void * pointers to the structures being held in the container). Maintaining list pointers within structures with macros/functions implementing basic operations preserves overall performance and removes the repeated solving of the same problem.

2ps worth and all that.

TTFN

Mike
--
If God had wanted you to go around nude, He would have given you bigger hands.

--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Raspunde prin e-mail lui