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....

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
[email protected] mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to