Hari Rangarajan wrote:

> I don't have much experience with the vim code base, I was hoping that
> someone here could quickly help with me info on the internal implementation
> of lookups for list and dictionaries. Is it hash tables or trees? Any other
> additional info would also be extremely helpful.

Dictionaries are hash tables (src/hashtab.c).  Lists are linked lists
(struct listvar_S in src/structs.h).

-- 
hundred-and-one symptoms of being an internet addict:
210. When you get a divorce, you don't care about who gets the children,
     but discuss endlessly who can use the email address.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
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

Raspunde prin e-mail lui