[PD] symbolarray
Jonathan Wilkes
jancsika at yahoo.com
Sat Apr 18 11:32:19 CEST 2009
Hi Frank,
Does [drawpolygon] affect creation time with that many elements?
-Jonathan
--- On Fri, 4/17/09, Frank Barknecht <fbar at footils.org> wrote:
> From: Frank Barknecht <fbar at footils.org>
> Subject: Re: [PD] symbolarray
> To: "PDlist" <pd-list at iem.at>
> Date: Friday, April 17, 2009, 3:52 PM
> Hallo,
> lsw hat gesagt: // lsw wrote:
>
> > Looks pretty useful. Also a great structures example.
>
> Btw.: To fill the symbolarray [list-enumerate] from
> [list]-abs is great.
>
> [symbolarray] also is pretty fast if you have to lookup
> something in large
> lists. I tested it with an arraysize of 100,000,000
> elements, which takes
> roughly 300 MB RAM according to my system monitor (with all
> elements except the
> last one empty). Creating the array takes several seconds,
> but looking up the
> final element happens instantly afterwards.
>
> The other Pd-vanilla ways I know to implement this are
> textfile-dumps with
> "rewind"+[until] or [select]-constructs or
> [list-idx], which all are unusable
> with arrays of these sizes.
>
> And of course the patch can be modified to look up any kind
> of list whose
> structure is known.
>
> Now we still need maps/hashes.
>
> Ciao
> --
> Frank
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management ->
> http://lists.puredata.info/listinfo/pd-list
More information about the Pd-list
mailing list