4 Commits
Author SHA1 Message Date
Alex Jbanca 8a6632b94e perf(LeftJoinModel): Add LRU cache for right model data access
The right model data access is expensive because we need to search the right model for a matching key on every `data` call. This commit adds a LRU cache to the `data` call, storing by default up to 1000 rows.

The cache mechanism uses a QCache for fast index lookup and a std::list to preserve the access order and to ensure a controlled cache removal.

+ fix compilation errors on ConcatModel and WritableProxyModel
2025-08-15 16:17:16 +03:00
Michał Cieślak e0ca6ee482 LeftJoinModel re-init and reset on sources reset
The LJM had incorrect handling of source models (left/right) reset.
2025-07-07 15:26:39 +02:00
Michał Cieślak 109fbd4225 LeftJoinModel improvements
- proper handling of source models reset (left and right)
- removed QQmlParserStatus inheritance
- emiting model reset only if needed to simplify upstream models
  initialization
2025-07-04 11:35:47 +02:00
Michał Cieślak 777b05cc98 initial commit 2025-06-13 16:25:14 +02:00