Thanks!
The multideminsional array stuff is a good approach. I'll likely fold something like that in (although it might be easier to implement if the metadata were stored in a separate table). Resizing is quite difficult since we want to preserve data. But since it wouldn't have to be done in place necessarily, it would be possible to just store a scratch space table, copy everything over, zero out the main table and resize, and then copy the data back in chunkwise. [array get/set] are faster than I thought they'd be, and they work great as a Pd analogue to "memmove" (see [array-copy] in my collection). Working in robust bounds checking might be tough.
I really wish you would have sent those to me on zip disk via registered mail.
On Sun, Oct 4, 2015 at 11:32 AM, Christof Ressi christof.ressi@gmx.at wrote:
Wow, looks cool!
Just a few days ago I reworked some of my personal table abstractions, which also make use of the [array] object. However, some of them depend on zexy externals (I hope I didn't miss any other dependencies). I haven't shared them yet so the documentation is quite poor (no help files, docs inside the abstraction) and they look a bit messy. But maybe you can get some inspiration for your library... https://www.dropbox.com/s/xvj031korqw8guf/ctab-abs.zip?dl=0
Additionally I've been working on three basic abstractions for creating, setting and reading multi-dimensional arrays of any number of dimensions. They are pure vanilla style and even come with a help file :-D. (a object for array resizing is yet to be done...) https://www.dropbox.com/s/6xfgdyt697138e6/carray.zip?dl=0
Would be cool to hear your opinion on the multi-dimensional array stuff!
Christof
*Gesendet:* Samstag, 03. Oktober 2015 um 22:32 Uhr *Von:* "Matt Barber" brbrofsvl@gmail.com *An:* "IOhannes m zmölnig" zmoelnig@iem.at *Cc:* Pd-List pd-list@lists.iem.at *Betreff:* Re: [PD] array-abs Thanks.
Yes. Right now I'm just looking to see if these would be useful, if there's anything awful about the syntax, if they try to do too much or are too fussy, if anyone would want to contribute, etc. When I get them polished a bit I'll do a regular release on the normal channels (I can't remember if I have access to anything officially Pd related).
Matt
On Sat, Oct 3, 2015 at 4:22 PM, IOhannes m zmölnig zmoelnig@iem.at wrote:
hi,
great!
On 10/03/2015 07:36 PM, Matt Barber wrote:
https://www.dropbox.com/s/45tk62dpz0z2mqo/array-abs.zip?dl=0
db?
would you like to put those on a version control system of sorts, e.g. the puredata svn or some publicly available git repository (e.g. github)?
(read as: please let us not go back to the dark ages, where code was shared by sending files around by on floppy disks and you never new which version was the current one)
fgmards IOhannes
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
_______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list