Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stdEnumerator - Better CreateFromIEnumVariant() #54

Open
sancarn opened this issue Jan 24, 2022 · 0 comments
Open

stdEnumerator - Better CreateFromIEnumVariant() #54

sancarn opened this issue Jan 24, 2022 · 0 comments
Labels
enhancement New feature or request lib-stdEnumerator
Projects

Comments

@sancarn
Copy link
Owner

sancarn commented Jan 24, 2022

Currently CreateFromIEnumVariant() enumerates the entire collection and converts it into an array at Create-Time. This is awful.

In reality we should call the IEnumVARIANT's Next method to obtain the next element in the collection as and when it is needed. This would allow things such as first(100) to be used effectively without lagging out.

Unfortunately this requires behaviour only made available recently in stdCOM so expect we'll have to port those over as required.

@sancarn sancarn mentioned this issue Jan 24, 2022
42 tasks
@sancarn sancarn added the enhancement New feature or request label Jan 24, 2022
@sancarn sancarn added this to WIP in Roadmap Jan 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request lib-stdEnumerator
Projects
Status: WIP
Roadmap
  
WIP
Development

No branches or pull requests

1 participant