xaop/activesp — Issue #2: Site#list is much slower than Site#lists
Author: IndigoCZ
Created: 2011-12-06 14:01:11+00:00
State: open

The following is very slow(100+ seconds):

c = ActiveSP::Connection.new(...)
my_list=c.root.list(list_title)

The following is very quick (7 seconds):

c = ActiveSP::Connection.new(...)
my_list=nil
c.root.lists.each do |list|
my_list=list if list.Title==list_title
end

Tested on savon-xaop (0.7.2.7), ruby 1.9.2p180, Sharepoint 2007