Skip to content

Faster lookup for processing big sdp : proposal #25

Description

@charles-yubo

Hi,
We recently went to unified-plan and I made some changes in my local to have faster code.
In particular for attributes, I created a pre check of beginning of the string (like rtmap) before calling the regex search.

Would you be interested for the addition?

Also I introduced some man made mapping for simple one to be faster+string_view.

Feel free to answer me there
Regards

Activity

  1. ibc commented on Feb 8, 2023

    @ibc
    Owner

    Sure.

  2. charles-yubo commented on Feb 8, 2023

    @charles-yubo
    Author

    Could string_view be used ?

  3. ibc commented on Feb 8, 2023

    @ibc
    Owner

    Could string_view be used ?

    I'm afraid I don't know what that is.

  4. CharlesC87 commented on Feb 13, 2023

    @CharlesC87

    It is included in c++17 and consist in a pair of iterator that allow fats string (view) manipulation as long as originla string remains

  5. CharlesC87 commented on Feb 13, 2023

    @CharlesC87

    avoid creating of a lot of substrings ( less memory allocation : faster)

  6. CharlesC87 commented on Feb 13, 2023

    @CharlesC87

    First PR #26
    (I am the same guy as charles-yubo)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions