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

Performance: re_matchsub/3 #23

Open
kamahen opened this issue May 24, 2022 · 0 comments
Open

Performance: re_matchsub/3 #23

kamahen opened this issue May 24, 2022 · 0 comments

Comments

@kamahen
Copy link
Member

kamahen commented May 24, 2022

See the discussion here: https://swi-prolog.discourse.group/t/careful-with-sub-atom-5-and-feature-request-last-sub-atom-5/5422/8 et seq.

Creating the results dict for this example is about equal to the time to do the matching. (From code inspection, re_match/2 and re_matchsub/3 differ only in creating the results dict.)

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

No branches or pull requests

1 participant