Skip to content
This repository has been archived by the owner on Mar 4, 2023. It is now read-only.

Poor performance for array of PODs with simple properties #45

Open
arietto opened this issue Mar 2, 2021 · 0 comments
Open

Poor performance for array of PODs with simple properties #45

arietto opened this issue Mar 2, 2021 · 0 comments

Comments

@arietto
Copy link

arietto commented Mar 2, 2021

Hello! I have 10000 PODs. Each POD contains primitive properties, so CBOR<->QVariant conversion can be done without iterating converter "store" (more than 20 checks a-la canConvert are done before switching to default conversion). So, using helper()->serializeSubtype is expensive for primitive types. Is it possible to improve performance if we deal with simple types? I don't want to subclass converter in order to speed up conversion.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant