[fpc-devel] RFC: Improvements for TDictionary and other hash containers

Martin Frb lazarus at mfriebe.de
Thu Apr 3 14:04:31 CEST 2025


On 03/04/2025 13:52, Martin Frb via fpc-devel wrote:
> On 27/03/2025 12:28, Martin Frb wrote:
>> There are 2 features, I am missing.
>
> 4)  GetOrAddMutable
> Just an extension, like AddOrSetValue.
> Having it as one call, avoids recalculating the hash/index.

Actually needs bool result, to indicate if it was gotten or added.


More information about the fpc-devel mailing list