Skip to content

Conversation

@aldelaro5
Copy link
Contributor

This PR adds a serialization option that allows to configure the maximum amount of entries a table may have for Tomlet to inline it. It doesn't override the existing force no inline option, but it allows to specify for the whole serialization the threshold at which Tomlet will stop inlining tables. It effectively allows to do the reverse of force no inline by setting it to 0 and setting it to int.maxvalue is equivalent to setting force no inline on the entire serialization.

The default value is the existing hardcoded one for retrocompatibility.

@coveralls
Copy link

Pull Request Test Coverage Report for Build 20466232301

Details

  • 16 of 16 (100.0%) changed or added relevant lines in 3 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.04%) to 90.99%

Totals Coverage Status
Change from base Build 15096414680: 0.04%
Covered Lines: 1949
Relevant Lines: 2142

💛 - Coveralls

@SamboyCoding SamboyCoding merged commit 2220bb0 into SamboyCoding:master Dec 24, 2025
0 of 3 checks passed
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