tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: hashtables



On 24.07.2018 21:01, coypu%sdf.org@localhost wrote:
> hi netbsd,
> 
> if I were to state I totally need hashtables, what already existing API
> would you tell me to use instead?
> 
> I am porting code:
> https://github.com/torvalds/linux/blob/605dc7761d2701f73c17183649de0e3044609817/drivers/gpu/drm/i915/i915_cmd_parser.c#L842-L852
> 

Depending on the context, rbtree(3) can be good enough for this purpose.

Attachment: signature.asc
Description: OpenPGP digital signature



Home | Main Index | Thread Index | Old Index