#749 Performance problem with large schemas

v9.0
closed
Michael Kay
5
2012-10-08
2007-12-10
Michael Kay
No

When processing large schemas (tens of thousands of element declarations) a performance problem manifests itself: the addComponent() method in PreparedSchema checks whether the component has already been added, and this involves a linear search. The performance is therefore quadratic, though the search is sufficiently fast that this is not noticeable with schemas of modest size.

A patch will be applied to the maintenance branch of the source and will appear in the next maintenance release after 9.0.0.2.

Discussion

  • Michael Kay
    Michael Kay
    2008-01-18

    Logged In: YES
    user_id=251681
    Originator: YES

    Fixed in 9.0.0.3