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
Performance improvement for GET_ROW method #529
Conversation
Iterator is slowing down for read operations, row class reference is now stored in hash table rather than iterator.
Iterator logic removed and hash table logic inserted to the GET_ROW method.
Thanks for your contribution I would also suggest to have the DT_ROWS as protected, so no other class can change the content of the internal table. |
@ivanfemia it is easier to add READ ONLY statement, in this case it will be public which is easy to access and can only be changed inside the class;
Get iterator we don't need i think it only exists in worksheet class, it is safe to delete. |
That's great! |
Hi. Just ( 27.03.18 ) installed the Project. So Long Insane |
@EMSINSANE can you try to remove ZCL_EXCEL_WORKSHEET->GET_ROWS_ITERATOR() it should not be used anywhere... I have no access to a NetWeaver server at the moment. Thank you |
Issue #527 has been fixed after updating ZCL_EXCEL_ROWS class by removing object iterator and introducing hash table. ZCL_EXCEL_WORKSHEET->GET_ROW method has been updated accordingly based on new structure to read directly from hash table.
Before :
And after: