Opened 16 years ago

Closed 16 years ago

Last modified 11 years ago

#253 closed defect (fixed)

Refactor to allow more converter objects, investigate conversion mechanisms

Reported by: David Aspinall Owned by: David Aspinall
Priority: major Milestone:
Component: 1:pg-eclipse Keywords:
Cc:

Description (last modified by David Aspinall)

PGIPIncoming has a converter member for converting text from the prover to a displayable form. Each session manager makes one converter object which is set in the incoming events, but unfortunately converters are single-threaded so become a bottleneck if we want to convert several text objects at once. To address this, we should refactor to include a Prover field instead of a converter, and then we could use a small pool of converter objects generated by a factory method in Converter. (Note: they shouldn't be generated freshly for each conversion as it requires compiling XSLT!).

Additionally we could look at other conversion mechanisms, e.g., maybe CSS mechanisms instead could improve performance.

Change History (2)

comment:1 Changed 16 years ago by David Aspinall

Description: modified (diff)
Resolution: fixed
Status: newclosed
Type: defect

Events now refactored as suggested. The session manager generates several converter objects. Other conversion mechanisms not investigated yet.

comment:2 Changed 11 years ago by David Aspinall

Milestone: PG-Eclipse-1.0.7

Milestone PG-Eclipse-1.0.7 deleted

Note: See TracTickets for help on using tickets.