Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Some operations on xsd:Integer are unecessarily expensive #336

@liss-h

Description

@liss-h

For example: casting an xsd:Integer to string requires the following in most cases

  1. un-inline the integer value into a int64_t (this is true for most integers)
  2. create a boost::multiprecision integer out of it
  3. call the to string function for the boost::multiprecision integer

In theory it would be more optimal if we did not construct the boost integer, instead just converting the uninlined int64_t to string.

Not sure on the implementation yet.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions