Skip to content

Site#list is much slower than Site#lists #2

@IndigoCZ

Description

@IndigoCZ

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions