Skip to content

feat(#199): Optimize empty-object.xsl Check#210

Merged
yegor256 merged 7 commits intoobjectionary:masterfrom
volodya-lombrozo:199_empty_objs
Jan 9, 2025
Merged

feat(#199): Optimize empty-object.xsl Check#210
yegor256 merged 7 commits intoobjectionary:masterfrom
volodya-lombrozo:199_empty_objs

Conversation

@volodya-lombrozo
Copy link
Member

I have written the test that identifies the problem with empty-objects check. Actually, it’s not a problem with the check. It’s a problem with jcabi-xmi library. I’ve optimised some parts of LtByXsl and added several puzzles to return the previous code back when these parts will be fixed.

Timings (for the new added test:)

  • Before optimization: 2min 23sec
  • After optimization: 6sec 535ms

Related to #199.

@volodya-lombrozo volodya-lombrozo marked this pull request as draft January 9, 2025 11:22
@volodya-lombrozo volodya-lombrozo marked this pull request as ready for review January 9, 2025 12:15
@volodya-lombrozo
Copy link
Member Author

@yegor256 Could you review these changes, please?

@yegor256 yegor256 merged commit e046428 into objectionary:master Jan 9, 2025
12 checks passed
@yegor256
Copy link
Member

yegor256 commented Jan 9, 2025

@volodya-lombrozo awesome, thanks!

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.

2 participants