Skip to content

Improve User lookup performance (fixes issue #29)#30

Open
hoffie wants to merge 1 commit into
zarafagroupware:masterfrom
hoffie:issue29-user-performance
Open

Improve User lookup performance (fixes issue #29)#30
hoffie wants to merge 1 commit into
zarafagroupware:masterfrom
hoffie:issue29-user-performance

Conversation

@hoffie

@hoffie hoffie commented Sep 28, 2015

Copy link
Copy Markdown

The previous code always tried to retrieve the underlying mapiobj.
This is not always needed and may involve multiple network round-trips.
Therefore, this commit lazy-loads the mapiobj instance so that simple
user attribute retrieval can be executed without loading this object
at all.

The previous code always tried to retrieve the underlying mapiobj.
This is not always needed and may involve multiple network round-trips.
Therefore, this commit lazy-loads the mapiobj instance so that simple
user attribute retrieval can be executed without loading this object
at all.
@srepmub

srepmub commented Sep 29, 2015

Copy link
Copy Markdown
Collaborator

looks good, thanks! we probably have more such cases, where we do too much work in init. btw looping over folders (Folder.folders()) is probably also still quite slow atm.. ;-)

@jelly

jelly commented Oct 13, 2015

Copy link
Copy Markdown
Collaborator

Thanks for the PR, we will merge this change when the Github repo is up to date

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants