Changeset 45
- Timestamp:
- 06/24/08 17:53:59 (2 months ago)
- Files:
-
- trunk/doost/text/Escaper.d (modified) (2 diffs)
- trunk/doost/util/serializer/archive/JsonArchive.d (modified) (1 diff)
- trunk/doost/util/serializer/archive/TextArchive.d (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/doost/text/Escaper.d
r44 r45 46 46 Params: 47 47 full = replaces also characters using named characters (slower) 48 49 Bugs: new implementation is about 5x times slower because of poor 50 optimization of functions with ref parameters in DMD. 51 See: http://d.puremagic.com/issues/show_bug.cgi?id=2008 48 52 ******************************************************************************/ 49 53 T escape(T)(T input, bool full = false) { … … 165 169 166 170 /******************************************************************************* 171 Bugs: new implementation is about 5x times slower because of poor 172 optimization of functions with ref parameters in DMD. 173 See: http://d.puremagic.com/issues/show_bug.cgi?id=2008 167 174 ******************************************************************************/ 168 //BUG-DMD: speed optimization of functions with ref parameters169 175 T unescape(T)(T input) { 170 176 // static assert(isString!(T), "Only unicode strings allowed"); trunk/doost/util/serializer/archive/JsonArchive.d
r44 r45 14 14 ******************************************************************************/ 15 15 16 module doost.util.serializer. JsonArchive;16 module doost.util.serializer.archive.JsonArchive; 17 17 18 18 //------------------------------------------------------------------------------ trunk/doost/util/serializer/archive/TextArchive.d
r44 r45 14 14 ******************************************************************************/ 15 15 16 module doost.util.serializer. TextArchive;16 module doost.util.serializer.archive.TextArchive; 17 17 18 18 //------------------------------------------------------------------------------
