Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
22 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bcb7c67
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.
Because of this simplification, the routine getParam is to inherit all the blocks by the block "DEFAULT" even if only a specific block or block.key is requested.
Don't you think that may be a problem on huge file ?
bcb7c67
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.
I did some tests.
The DEFAULT section had more than 1000 keys and with 100 sections. It took around 30 ms to extend the sections with the 1000 keys.
If a file is huge with lots of keys and sections the bigger problem would be the parseFile method which took almost a second.