AW: Re: [fpc-pascal] "Generics" Red Black Tree for fpc

Helmut Hartl helmut.hartl at firmos.at
Fri Apr 3 17:16:50 CEST 2009


Von: Mattias Gaertner <nc-gaertnma at netcologne.de>
Gesendet: Fr 03.04.2009 16:51
An: fpc-pascal at lists.freepascal.org; 
Betreff: Re: [fpc-pascal] "Generics" Red Black Tree for fpc

> How much work do you think is it to extend it to accept duplicate keys?
> Mattias

How probable are duplicate keys in your usecase? / what is the use case ?
It would be easy to add them as list per key node natively, but that would be possible with
the current version too if you use a listtype as the storage type ...

 helmut



More information about the fpc-pascal mailing list