Skip to content
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

2221 data type with picture validator #2502

Merged
merged 12 commits into from May 5, 2023

Conversation

smedilol
Copy link
Contributor

@smedilol smedilol commented Apr 21, 2023

Fix #2221

Optimize DataType creation by using the result of PictureValidator.
There is no gain in incremental mode.
The gain in full parsing is low : about 5%.

@smedilol smedilol requested review from fm-117 and efr15 April 21, 2023 08:34
@smedilol smedilol self-assigned this Apr 21, 2023
@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label Apr 21, 2023
TypeCobol.Test/Misc/TestPictureParsing.cs Outdated Show resolved Hide resolved
TypeCobol/Compiler/CodeElements/Entry/DataType.cs Outdated Show resolved Hide resolved
TypeCobol/Compiler/Nodes/Data.cs Outdated Show resolved Hide resolved
TypeCobol.Test/Misc/TestPictureParsing.cs Outdated Show resolved Hide resolved
TypeCobol/Compiler/Diagnostics/CodeElementCheckers.cs Outdated Show resolved Hide resolved
@trafico-bot trafico-bot bot added ⚠️ Changes requested Pull Request needs changes before it can be reviewed again and removed 🔍 Ready for Review Pull Request is not reviewed yet labels Apr 21, 2023
fm-117 and others added 3 commits April 24, 2023 11:20
# Conflicts:
#	TypeCobol/Compiler/CupParser/TypeCobolProgramParser.cs
#	TypeCobol/Compiler/CupParser/TypeCobolProgramSymbols.cs
@smedilol smedilol changed the base branch from develop to develop_net6.0 April 26, 2023 08:31
@trafico-bot trafico-bot bot added 🔍 Ready for Review Pull Request is not reviewed yet and removed ⚠️ Changes requested Pull Request needs changes before it can be reviewed again labels Apr 26, 2023
@smedilol
Copy link
Contributor Author

I changed the target branch to develop_net6.0. This gives the opportunity to specify certain nullable variables explicitly.

@smedilol smedilol requested review from fm-117 and efr15 April 26, 2023 09:10
fm-117
fm-117 previously approved these changes Apr 27, 2023
@trafico-bot trafico-bot bot removed the 🔍 Ready for Review Pull Request is not reviewed yet label Apr 27, 2023
efr15
efr15 previously approved these changes Apr 27, 2023
@fm-117
Copy link
Contributor

fm-117 commented May 2, 2023

To avoid mixing commits with #2497, keep this PR open until #2497 is merged.

Base automatically changed from develop_net6.0 to develop May 3, 2023 14:15
# Conflicts:
#	.github/workflows/dotnet.yml
#	CLI/src/CLI.csproj
#	CLI/test/CLI.Test.csproj
#	CSCup/CSCup.csproj
#	CSCupRuntime/CSCupRuntime.csproj
#	Codegen/src/Codegen.csproj
#	Codegen/test/Codegen.Test.csproj
#	Common.props
#	TypeCobol.Analysis.Test/TypeCobol.Analysis.Test.csproj
#	TypeCobol.Analysis/TypeCobol.Analysis.csproj
#	TypeCobol.LanguageServer.Test/TypeCobol.LanguageServer.Test.csproj
#	TypeCobol.LanguageServer/TypeCobol.LanguageServer.csproj
#	TypeCobol.Test/TypeCobol.Test.csproj
#	TypeCobol.Transform.Test/TypeCobol.Transform.Test.csproj
#	TypeCobol.Transform/TypeCobol.Transform.csproj
#	TypeCobol/TypeCobol.csproj
@fm-117 fm-117 dismissed stale reviews from efr15 and themself via 776fc4d May 4, 2023 07:26
@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label May 4, 2023
@fm-117 fm-117 requested review from fm-117 and efr15 May 4, 2023 07:28
fm-117
fm-117 previously approved these changes May 4, 2023
@trafico-bot trafico-bot bot removed the 🔍 Ready for Review Pull Request is not reviewed yet label May 4, 2023
efr15
efr15 previously approved these changes May 4, 2023
@fm-117 fm-117 dismissed stale reviews from efr15 and themself via 4239fa7 May 4, 2023 08:46
@trafico-bot trafico-bot bot added the 🔍 Ready for Review Pull Request is not reviewed yet label May 4, 2023
@smedilol smedilol requested review from fm-117 and efr15 May 4, 2023 12:07
@trafico-bot trafico-bot bot removed the 🔍 Ready for Review Pull Request is not reviewed yet label May 4, 2023
@smedilol smedilol merged commit 1ec0080 into develop May 5, 2023
4 checks passed
@trafico-bot trafico-bot bot added the ✨ Merged Pull Request has been merged successfully label May 5, 2023
@efr15 efr15 mentioned this pull request Aug 3, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ Merged Pull Request has been merged successfully
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Optimize DataType creation
3 participants