[dev] [cvs] commit: genie item.php wishlists.php genie/lib Genie.php base.php genie/po genie.pot sl_SI.po genie/templates/wishlists shared.inc

Duck duck at obala.net
Sat Jan 19 10:32:37 UTC 2008


On Friday 18 of January 2008 19:05:57 Chuck Hagenbuch wrote:
> Quoting Duck <duck at obala.net>:
> > Thinking forward. The common usage of listShares() is to list
> > available shares
> > in panels where you actually use only the id/name and human readable
> > name. Maybe it will make sens to change the behavior of this method or ad
> > a new one, to return only an indexed array of id and name pairs, and
> > leave the share objects creation only when needed - for example in share
> > management. This will reduce time loading data and memory used by shares
> > cached in sessions.
>
> Yes, that would definitely be a part of any new Share API.

This must wait till H4 or we can do something now? For example switching from 
object to array list it wont require any data changes and as I can see it 
would be even easy to fix the current applications.

Duck




More information about the dev mailing list