Hi,<div><br></div><div>I am trying to find a balance in between processing speed and RAM consumption for sets of large strings (over 1 M characters per string). To construct such lists is much faster than constructing its binary counterpart. On the other hand, lists are using more RAM than binaries, and that reduces the number of strings I can hold in memory (unless I transform the lists in binaries and call GC after that, but that slows down the processing time). Has anyone had this problem before? What was the solution? Thoughts?</div>
<div><br></div><div>A middle way in between lists and binaries is using tuples, but handling them is not as easy as in the case of lists or binaries, especially at variable tuple size. Therefore, working with tuples seems not a good solution. But I might be wrong, so, if anyone used tuples in an efficient way for this case, please, let me know.</div>
<div><br></div><div>Any thought would be very much appreciated. Thank you.</div><div><br></div><div>CGS</div><div><br></div>