Changes between Version 1 and Version 2 of Ticket #12178, comment 2


Ignore:
Timestamp:
Aug 3, 2016 3:40:39 PM (3 years ago)
Author:
bgamari
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #12178, comment 2

    v1 v2  
    11Bumping the importance of this since you really should be able to use pattern synonyms in a manner without compromising performance.
    22
     3Moreover, I wonder whether builders and matchers should be given a bit of a discount for their inlining cost, reflecting the user's likely intuition that patterns synonyms are generally cheap and small.
     4
    35I agree that a simple `INLINE P` pragma should inline both the matcher and the builder of `P`. Indeed we could expose `INLINE_MATCHER` and `INLINE_BUILDER` variants as well, although I am doubtful that they would pull their weight.