Changeset 45

Show
Ignore:
Timestamp:
06/24/08 17:53:59 (2 months ago)
Author:
aarti_pl
Message:

- changed module declaration of JsonArchive? and TextArchive?
- comment about speed for escaper/unescaper

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/doost/text/Escaper.d

    r44 r45  
    4646    Params: 
    4747            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 
    4852 ******************************************************************************/ 
    4953T escape(T)(T input, bool full = false) { 
     
    165169 
    166170/******************************************************************************* 
     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 
    167174 ******************************************************************************/ 
    168 //BUG-DMD: speed optimization of functions with ref parameters 
    169175T unescape(T)(T input) { 
    170176//  static assert(isString!(T), "Only unicode strings allowed"); 
  • trunk/doost/util/serializer/archive/JsonArchive.d

    r44 r45  
    1414 ******************************************************************************/ 
    1515 
    16 module doost.util.serializer.JsonArchive; 
     16module doost.util.serializer.archive.JsonArchive; 
    1717 
    1818//------------------------------------------------------------------------------ 
  • trunk/doost/util/serializer/archive/TextArchive.d

    r44 r45  
    1414 ******************************************************************************/ 
    1515 
    16 module doost.util.serializer.TextArchive; 
     16module doost.util.serializer.archive.TextArchive; 
    1717 
    1818//------------------------------------------------------------------------------