[PD] your favorite key:value data structure?
Miller Puckette
msp at ucsd.edu
Tue Jul 18 20:42:57 CEST 2017
>
> My suggestion would be to start with the more expressive vanilla object-- [text]-- and see
> if it fulfills your needs. Keep in mind though that it is at core not a key/value store but instead
> a 2-dimensional array of atoms. E.g., you can decide that the first item in each line is your
> key, but the text class interface does nothing to prevent you from adding more lines that
> duplicate that same key.
>
> -Jonathan
>
By default, "search" matches only lines whose first field(s) match the search
key(s). OTOH, if you have a duplicate key and want to find anything besides the
first occurence of the key it will be tricky.
cheers
Miller
More information about the Pd-list
mailing list