ZF-6926: use SplObjectStorage class within Zend_Pdf_ElementFactory

Issue Type: Sub-task Created: 2009-06-05T01:34:24.000+0000 Last Updated: 2009-07-30T06:09:26.000+0000 Status: Closed Fix version(s): Reporter: Alexander Veremyev (alexander) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Pdf

Related issues: Attachments:


ElementFactory uses several object collections, which are really large for large enough PDF documents. All of them are organized as arrays with a string keys which are generated by objects. Each key generation needs string processing.


Posted by Alexander Veremyev (alexander) on 2009-07-30T06:09:24.000+0000

Only $_removedObjects is transformed to SplObjectStorage.

$_modifiedObjects entries have to be sorted by keys while PDF dump operation.

$_registeredObjects entries have to be referable by string reference (to check if it's already parsed)

Have you found an issue?

See the Overview section for more details.


© 2006-2018 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.