-
Notifications
You must be signed in to change notification settings - Fork 42
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
Speeding up lookup of inp sections and bracketed words #117
Conversation
@jackieff thanks for this! I like your improved logic. That said, I have two comments:
What do you think? |
@aerispaha Great points - I'm doing some benchmark tests for # 2 right now, and will look more into # 1. Stay tuned |
@aerispaha Seems that # 2 is not a problem, I tested the f.read() section with varying file sizes: |
Regarding the performance of this change, another thing we check is the duration of CI unit tests to get an indirect sense of things. Overall, it looks like this makes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks great
Addresses #92 by speeding up the search for inp sections and therefore dataframe_from_inp
Changed to search full text file string instead of line iterations