You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Adam Winer (JIRA)" <de...@myfaces.apache.org> on 2007/08/16 01:03:31 UTC
[jira] Created: (TRINIDAD-630) Table stamp state could be greatly
optimized for size
Table stamp state could be greatly optimized for size
-----------------------------------------------------
Key: TRINIDAD-630
URL: https://issues.apache.org/jira/browse/TRINIDAD-630
Project: MyFaces Trinidad
Issue Type: Improvement
Affects Versions: 1.0.2-core
Reporter: Adam Winer
The size of the state in the table component is much higher than it needs to be. In particular, hierarchies of components that contain no state could and should boil down to simple "null" entries, but don't currently - I see structures that look like:
[null, [], [null, [], []], [null, [], []], [null, [], []], [null, [], []]]
We're good enough to share the object arrays, but this should all turn into null.
In addition, we should share instances of StampState$SDState, since there are only two states.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Resolved: (TRINIDAD-630) Table stamp state could be greatly
optimized for size
Posted by "Adam Winer (JIRA)" <de...@myfaces.apache.org>.
[ https://issues.apache.org/jira/browse/TRINIDAD-630?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Adam Winer resolved TRINIDAD-630.
---------------------------------
Resolution: Fixed
Fix Version/s: 1.0.3-core
Assignee: Adam Winer
Fixed. Also did trimming in cases where three-element arrays could be simple objects or two-element arrays. This should be very helpful for editable tables, and massively so for non-editable tables.
> Table stamp state could be greatly optimized for size
> -----------------------------------------------------
>
> Key: TRINIDAD-630
> URL: https://issues.apache.org/jira/browse/TRINIDAD-630
> Project: MyFaces Trinidad
> Issue Type: Improvement
> Affects Versions: 1.0.2-core
> Reporter: Adam Winer
> Assignee: Adam Winer
> Fix For: 1.0.3-core
>
>
> The size of the state in the table component is much higher than it needs to be. In particular, hierarchies of components that contain no state could and should boil down to simple "null" entries, but don't currently - I see structures that look like:
> [null, [], [null, [], []], [null, [], []], [null, [], []], [null, [], []]]
> We're good enough to share the object arrays, but this should all turn into null.
> In addition, we should share instances of StampState$SDState, since there are only two states.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.