Most efficient way to copy objects between Mnesia tables?
I can think of a few different ways to copy the objects from one Mnesia table to another, but I'm looking for a most efficient option, in terms of time and process heap memory consumption (in case of a tradeoff, memory is most important). The tables in question
are RAM only, not distributed and it's ok to perform dirty operations. No object conversion or matching required.
Possibly dirty_first followed by iterations over dirty_read, copy and dirty_next, but I have a strong feeling that's thinking too much "inside the box".
😄 Hit me with your best suggestions!
This email may contain information which is privileged or protected against unauthorized disclosure or communication. If you are not the intended recipient, please notify the sender and delete this message and any attachments from your system without producing,
distributing or retaining copies thereof or disclosing its contents to any other person.
Telia Company processes emails and other files that may contain personal data in accordance with Telia Company’s