[ 
https://issues.apache.org/jira/browse/TAP5-2589?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16203293#comment-16203293
 ] 

ASF subversion and git services commented on TAP5-2589:
-------------------------------------------------------

Commit 68303b1d61d09c997bade870587d4586625f17a6 in tapestry-5's branch 
refs/heads/master from [~jkemnade]
[ https://git-wip-us.apache.org/repos/asf?p=tapestry-5.git;h=68303b1 ]

TAP5-2589: improve data source handling if the pager is not shown
Counting the number of results in an expensive operation for some data sources 
(especially databases), so we count
only as far as we need to.


> Improve Grid implementation for "slow" data sources
> ---------------------------------------------------
>
>                 Key: TAP5-2589
>                 URL: https://issues.apache.org/jira/browse/TAP5-2589
>             Project: Tapestry 5
>          Issue Type: Improvement
>          Components: tapestry-core
>            Reporter: Jochen Kemnade
>             Fix For: 5.5.0
>
>
> When using a Grid that's backed by a data source for which performing a count 
> is expensive, performance is quite bad.
> There are some places where Grid (and subcomponents) call 
> {{getAvailableRows()}} to determine whether the data source is empty or has 
> (at least) a specific number of results. We should provide (and use) more 
> specific and efficient methods in {{GridDataSource}}.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to