Thanks, Hajar and Jakob
Gesendet: Donnerstag, 05. Dezember 2019 um 13:37 Uhr
Von: "IOhannes m zmoelnig" <zmoelnig@iem.at>
An: pd-list@lists.iem.at
Betreff: Re: [PD] writing to cyclone/coll takes a long time
On 30.11.19 14:00, Jakob Laue wrote:
> Do you have any hint why it takes that long to write 60000 rows into coll? Maybe we do something wrong or have missed some smarter way to write our rows into the coll matrix.
i don't know what you want to do, but if this is about "writing" (to
file), you could also use zexy's [msgfile].
some numbers (on an i7-7700, running Debian/GNU linux, 64bit)
- adding 700 entries: <1ms
- adding 6000 entries: <11ms
- adding 60000 entries: <50ms
- writing 60000 entries to disk: <150ms
- reading 60000 entries from disk: <130ms
- output next entry: <1ms
- seek to entry #20000 <3ms
outputting the "next" entry is O(1).
seeking to a position, resp, searching an entry is O(n).
dfmasdr
IOhannes
PS: there's also a memory leak that ed.kelly discovered recently, that
occurs when dealing with long lines. need to put a new version online....
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management ->
https://lists.puredata.info/listinfo/pd-list