Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 238 Bytes

README-qmap-with-pointer-key.md

File metadata and controls

7 lines (5 loc) · 238 Bytes

qmap-with-pointer-key

Finds cases where you're using QMap<K,T> and K is a pointer.

QMap has the particularity of sorting it's keys, but sorting by memory address makes no sense. Use QHash instead, which provides faster lookups.