Skip to content
Verified Commit 2793b1b0 authored by Harald Sitter's avatar Harald Sitter 🐧 Committed by Fushan Wen
Browse files

folder: use qset instead of qvector to improve performance

we need to check N times if the N items associated with a given screen
have already been marked as off-screen. this requires traversal of all
off-screen items. qset gives us much faster performance for this use
case.

the contains() calls in removeScreen change from multiple milliseconds
to sub-millisecond speeds for some 700k items
parent 1cb6e5a3
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment