[mapguide-trac] #211: Serializing class definition to XML needs
to be optimized
MapGuide Open Source
trac_mapguide at osgeo.org
Mon Apr 14 14:01:06 EDT 2008
#211: Serializing class definition to XML needs to be optimized
-----------------------------+----------------------------------------------
Reporter: ronnielouie | Owner:
Type: defect | Status: closed
Priority: medium | Milestone:
Component: Feature Service | Version: 1.2.0
Severity: major | Resolution: fixed
Keywords: | External_id: 945237
-----------------------------+----------------------------------------------
Changes (by ronnielouie):
* status: new => closed
* resolution: => fixed
Comment:
Fix for http://trac.osgeo.org/mapguide/ticket/265 improved !DescribeSchema
performance such that class definition does not get serialized.
Serializing to XML only occurs now when calling !GetClassDefinition().
Updating the schema cache should no longer encounter conflict with
!GetClassDefinition. Since a class can only belong to one parent
(schema), manipulating a temporary schema for serializing to xml is still
required. Alternative solution of cloning the original schema and
manipulating that for serialization actually results in degraded
performance, so no further optimization is necessary.
Submitted http://trac.osgeo.org/mapguide/changeset/3135 to remove
excessive !ByteReader/ByteSink conversion.
--
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/211#comment:4>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals
More information about the mapguide-trac
mailing list