Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@AshesITR
Copy link
Collaborator

Another 20% performance improvement by parsing the XML only once and creating the expression documents from the full document.

> system.time(get_source_expressions(test_file))
   user  system elapsed 
  2.099   0.001   2.099 
> devtools::load_all()
ℹ Loading lintr
> system.time(get_source_expressions(test_file))
   user  system elapsed 
  1.635   0.001   1.636 

@AshesITR AshesITR requested a review from MichaelChirico May 23, 2022 19:05
@AshesITR AshesITR merged commit 0fe67b6 into main May 23, 2022
@AshesITR AshesITR deleted the get_source_expressions-performance branch May 23, 2022 20:44
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