python like datastructures as databases code examples

Serg Gini kornburn at yandex.ru
Tue Jul 22 07:32:00 UTC 2025


On Monday, 21 July 2025 at 16:13:44 UTC, monkyyy wrote:
> On Monday, 21 July 2025 at 14:56:41 UTC, Serg Gini wrote:
>> But array doesn't look right..
>> If you want a balanced ("always sorted") structure with 
>> "filter" (ability to make some requests for the data) - this 
>> looks more like some Tree structure
>
> Your thinking in classical theory and textbook read`n; practice 
> has no such restriction

If performance is not required - of course you can sort every 
time when you appending new elements.
classical theory and textbooks were created to do that in a not 
wacky way.


More information about the Digitalmars-d-learn mailing list