Skip to content

Verification_Engine: CSharpScript.EvaluateAsync fixed to only generate one assembly per formula #3494

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

Merged
merged 1 commit into from
May 2, 2025

Conversation

pawelbaran
Copy link
Member

Issues addressed by this PR

Closes #3493

Test files

See #3493

Changelog

Additional comments

@linhnam-nguyen you may want to look into it - it is a quickfix for the issue you have raised under BHoM/Revit_Toolkit#1532. Your solution using Roslyn Emit is most likely more efficient, but this PR is meant to make the current mechanism at least usable, not necessarily perfect 😉

@pawelbaran pawelbaran added the type:bug Error or unexpected behaviour label Apr 18, 2025
@pawelbaran pawelbaran self-assigned this Apr 18, 2025
@linhnam-nguyen
Copy link

@pawelbaran Thanks for the quick fix! I’ll look into how I can apply it in my spreadsheet.

Copy link
Contributor

@michal-pekacki michal-pekacki left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tested and it gives results 5x faster, happy to approve 👍

@michal-pekacki
Copy link
Contributor

@BHoMBot check ready-to-merge

Copy link

bhombot-ci bot commented Apr 29, 2025

@michal-pekacki to confirm, the following actions are now queued:

  • check ready-to-merge

There are 46 requests in the queue ahead of you.

@pawelbaran pawelbaran merged commit 47a962b into develop May 2, 2025
12 checks passed
@pawelbaran pawelbaran deleted the BHoM_Engine-#3493-DynamicScriptExecutionFixed branch May 2, 2025 14:20
@BHoMBot BHoMBot mentioned this pull request Jun 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Error or unexpected behaviour
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Verification_Engine: CSharpScript.EvaluateAsync generates a brand new assembly at each call
3 participants