Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#2197 closed defect (fixed)

The usage of "swscanf" results in bad performance in MgStylization.dll

Reported by: stevenxu Owned by: StevenXu
Priority: medium Milestone: 2.5
Component: General Version: 2.2.0
Severity: major Keywords:
Cc: External ID: 1469935.01

Description

The function "swscanf" was used in the methed "SE_StyleVisitor::ParseDoublePair" and "SE_StyleVisitor::ParseGeometry", and they maybe be invoked in many times when there are many symbols and layers in some case, and it resulted in bad performance.

Change History (3)

comment:1 by waltweltonlair, 11 years ago

Milestone: Maestro-5.02.5
Priority: lowmedium
Version: 2.1.02.2.0

comment:2 by waltweltonlair, 11 years ago

Resolution: fixed
Status: newclosed

Submitted fix on behalf of Steven Xu.

Fixed in the trunk stream with changeset r7240.

Fixed in the 2.5k sandbox stream with changeset r7241.

comment:3 by waltweltonlair, 11 years ago

Made a follow-up submission to remove unnecessary asserts.

Updated trunk stream with changeset r7260.

Updated 2.5k sandbox stream with changeset r7261.

Note: See TracTickets for help on using tickets.