<div>On Mon, 7 Jun 2021 at 10:57 PM Juan Vuletich via Cuis-dev <<a href="mailto:cuis-dev@lists.cuis.st">cuis-dev@lists.cuis.st</a>> wrote:<br></div><div><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir="auto"><br>Not having used ImageSegments in decades, I still believe that making <br>
them work in Cuis is entirely possible, and not too much work.<br>
<br>
But I'm not sure if that would, for example, suit your needs. It was a <br>
good solution to give users comfortable access to content that was much <br>
larger than available RAM. In these days, I don't see much need for that <br>
use case. And it doesn't offer most of what a database offers. In many <br>
cases, SmartRefStream is a good substitute.</blockquote><div dir="auto"><br></div><div dir="auto">I haven’t used image segments in many years too, and I don’t think I’ll  need them for anything in the foreseeable future. In the past I used them twice, as far as I can remember. The first time it was to store diphones (pairs of phonemes) for a text to speech system that was much better than the one that ended up in the Squeak image, but had the disadvantage of depending on this database of diphones. The second time it was for storing maps and satellite images downloaded from some openly available servers at the time (before keyhole, google maps and all that). In both cases loading speed was important, specially in the TTS system in order to get response times close to real-time, and image segments were perfect for that because they just loaded a piece of object memory without running any Smalltalk code, super fast. I used them in combination with weak references and finalization, I think, in order to offload stuff automatically if memory was getting tight.</div><div dir="auto"><br></div><div dir="auto">It might be worth keeping them also because of their beauty. I always found the idea very elegant, not just a hack.</div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)" dir="auto"></blockquote></div></div>