atom feed90 messages in org.xml.lists.xml-devRe: [xml-dev] Pragmatic namespaces
FromSent OnAttachments
Micah DubinkoJul 31, 2009 4:06 pm 
COUTHURES AlainAug 1, 2009 3:35 am 
Amelia A LewisAug 1, 2009 7:43 am 
Kurt CagleAug 2, 2009 11:55 am 
Kurt CagleAug 2, 2009 12:30 pm 
Amelia A LewisAug 2, 2009 6:44 pm 
rjel...@allette.com.auAug 2, 2009 9:07 pm 
Micah DubinkoAug 2, 2009 9:22 pm 
Micah DubinkoAug 2, 2009 9:40 pm 
Dave PawsonAug 2, 2009 11:20 pm 
Michael LudwigAug 3, 2009 8:30 am 
Kurt CagleAug 3, 2009 10:41 am 
Pete CordellAug 3, 2009 11:56 am 
Michael KayAug 3, 2009 1:46 pm 
Kurt CagleAug 3, 2009 4:42 pm 
rjel...@allette.com.auAug 3, 2009 8:39 pm 
Pete CordellAug 4, 2009 12:37 am 
Tim BrayAug 4, 2009 9:44 am 
Micah DubinkoAug 4, 2009 11:17 am 
Micah DubinkoAug 4, 2009 10:55 pm 
Liam QuinAug 4, 2009 11:29 pm 
Dave PawsonAug 5, 2009 12:46 am 
Pete CordellAug 5, 2009 3:17 am 
Tim BrayAug 5, 2009 12:53 pm 
Liam QuinAug 5, 2009 1:46 pm 
Michael KayAug 5, 2009 4:45 pm 
'Liam Quin'Aug 5, 2009 4:50 pm 
Pete CordellAug 6, 2009 12:23 am 
Pete CordellAug 6, 2009 12:36 am 
rjel...@allette.com.auAug 6, 2009 12:58 am 
Michael LudwigAug 6, 2009 1:37 am 
Kurt CagleAug 6, 2009 1:47 am 
rjel...@allette.com.auAug 6, 2009 1:51 am 
Michael KayAug 6, 2009 2:10 am 
Michael KayAug 6, 2009 2:21 am 
Michael KayAug 6, 2009 2:25 am 
Pete CordellAug 6, 2009 2:39 am 
Pete CordellAug 6, 2009 2:46 am 
rjel...@allette.com.auAug 6, 2009 3:08 am 
Pete CordellAug 6, 2009 3:30 am 
Michael KayAug 6, 2009 3:34 am 
Simon St.LaurentAug 6, 2009 5:57 am 
48 later messages
Subject:Re: [xml-dev] Pragmatic namespaces
From:Pete Cordell (pete@codalogic.com)
Date:Aug 4, 2009 12:37:12 am
List:org.xml.lists.xml-dev

Original Message From: "Michael Kay"

- Although a minor concern, all other things being equal it should be more efficient to parse as the entropy is at the start of the string making it easier to look up.

It's just as easy to compare strings starting at the end as at the front!

Sure you can write your own string compare methods that start comparing from the end. But if the solution becomes wide spread then a lot of string comparing will be done with comparison algorithms built into the various implementation language (e.g. Java, C#, JavaScript and so on) and they tend to start from the front.

Just because you _can_ write a string compare function that starts from the end is no reason to have reversed names. It certainly doesn't outweigh the benefits mentioned of using non-reversed names.

Pete Cordell Codalogic Ltd Interface XML to C++ the easy way using XML C++ data binding to convert XSD schemas to C++ classes. Visit http://codalogic.com/lmx/ or http://www.xml2cpp.com for more info

_______________________________________________________________________

XML-DEV is a publicly archived, unmoderated list hosted by OASIS to support XML implementation and development. To minimize spam in the archives, you must subscribe before posting.

[Un]Subscribe/change address: http://www.oasis-open.org/mlmanage/ Or unsubscribe: xml-@lists.xml.org subscribe: xml-@lists.xml.org List archive: http://lists.xml.org/archives/xml-dev/ List Guidelines: http://www.oasis-open.org/maillists/guidelines.php