20 Jun 2005 11:40
DataFactory changes for Performance improvement
vijayakumar palaniappan <vijayakumarpl <at> yahoo.com>
2005-06-20 09:40:51 GMT
2005-06-20 09:40:51 GMT
Hi, Better formatted diffs as attachment. net.outer_planes implementation of Stream is a DataFactoy by itself, Since AbstractStream extends from DataFactory. Since DataFactory data remains the same most of the time, we can optimize memory by sharing the base set of Registered elements and namespace mappings. if we do create lot of streams in the same JVM, then it certainly saves lot of memory. I have modified the Datafactory to hold a reference to a base datafactory, which is readonly. If a specific stream adds new elements or namespaces, new datastructures are created appropriately. Attached the diffs. These diffs are against 0.13.2 version __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
DataFactory diff --------------- 15a16 > import java.util.Collections;(Continue reading)
RSS Feed