[ 
https://issues.apache.org/jira/browse/DISPATCH-286?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15250030#comment-15250030
 ] 

Ted Ross commented on DISPATCH-286:
-----------------------------------

This is not so much a pattern-matching problem as it is a searching problem.  
We want to do an efficient search on an address such that the most specific 
matching prefix is returned.  In this case, prefix is defined by segments 
delimited by delimiters.  Currently the only delimiter is '.' but there's call 
for allowing '/' as well.
The use of delimiters is simply an optimization.  If we didn't use them, we 
could search every prefix character-by-character.  But this would be quite a 
bit slower.
I don't think it is too steep of a slippery slope to add a delimiter character. 
 Doing a full regex-search is a huge change and will have significant 
performance implications that we don't want to deal with.


> Prefix delimiters:  allow slashes as well as periods
> ----------------------------------------------------
>
>                 Key: DISPATCH-286
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-286
>             Project: Qpid Dispatch
>          Issue Type: Improvement
>          Components: Router Node
>            Reporter: Ted Ross
>            Assignee: Ted Ross
>             Fix For: 0.6
>
>
> In 0.6.0-beta2, the only delimiter character available for address prefixes 
> is the "." character.  It would be desirable to also allow slash (and 
> possibly backslash) as well.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to