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

Improve UserFunction_Class #506

Open
shishiousan opened this issue Oct 11, 2024 · 0 comments
Open

Improve UserFunction_Class #506

shishiousan opened this issue Oct 11, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request userfunction wishlist Tell us which feature do you want in easifemClasses

Comments

@shishiousan
Copy link
Member

In the current implementation, the Get method for UserFunction_Class parses a lua function for every call.

This causes an increase in execution time when the Get method is called many times.

The following solutions may be possible.

  • implementing the basic functions (polynomial and well-known expression, etc.) by Fortran and calling it.
  • suppressing the re-parsing of lua by keeping parsed status (skip call lua_close()).
@shishiousan shishiousan added enhancement New feature or request wishlist Tell us which feature do you want in easifemClasses userfunction labels Oct 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request userfunction wishlist Tell us which feature do you want in easifemClasses
Projects
None yet
Development

No branches or pull requests

2 participants