11-14-2013 09:18 AM - edited 11-14-2013 09:21 AM
11-14-2013 09:27 AM - edited 11-14-2013 09:42 AM
Your first quoted article is wrong. Variant attributes are stored in a red black tree which performs as O(logN) for search, insert, delete, etc. and is thus very efficient.
See also my suggestion about associative arrays.
In my fitting program, I use variant attributes as a caching mechanism for parallelization. Here we have several thousand attributes, each attribute being a string of several hundred characters. It performs fantastically. I wrote some caching demos showing that the performance goes with logN. (after some code improvements, the cached performace is now near 30k spectra/second and each spectrum involves multiple cache searches).