Ignore:
Timestamp:
Mar 9, 2018, 1:28:54 PM (6 years ago)
Author:
Peter A. Buhr <pabuhr@…>
Branches:
ADT, aaron-thesis, arm-eh, ast-experimental, cleanup-dtors, deferred_resn, demangler, enum, forall-pointer-decay, jacob/cs343-translation, jenkins-sandbox, master, new-ast, new-ast-unique-expr, new-env, no_list, persistent-indexer, pthread-emulation, qualifiedEnum, resolv-new, with_gc
Children:
e84382b
Parents:
8b001bd (diff), f86c8e5 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

more changes

Location:
doc/papers/general/evaluation
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • doc/papers/general/evaluation/cpp-stack.hpp

    r8b001bd r3d8f2f8  
    1111
    1212        stack() : head( nullptr ) {}
    13         stack( const stack<T> & o) { copy( o ); }
     13        stack( const stack<T> & o ) { copy( o ); }
    1414        stack( stack<T> && o ) : head( o.head ) { o.head = nullptr; }
    1515
     
    4141        }
    4242
    43         stack & operator= ( stack<T> && o ) {
    44                 if ( this == &o ) return *this;
    45                 head = o.head;
    46                 o.head = nullptr;
    47                 return *this;
    48         }
    49 
    5043        bool empty() const { return head == nullptr; }
    5144
  • doc/papers/general/evaluation/cpp-vstack.hpp

    r8b001bd r3d8f2f8  
    1717        stack( stack && o );
    1818        ~stack();
    19         stack& operator=( const stack& o );
    20         stack& operator=( stack && o );
    21 
     19        stack & operator=( const stack& o );
     20        stack & operator=( stack && o );
    2221        bool empty() const;
    2322        void push( const object & value );
  • doc/papers/general/evaluation/timing.dat

    r8b001bd r3d8f2f8  
    11"400 million repetitions"       "C"     "\\CFA{}"       "\\CC{}"        "\\CC{obj}"
    2 "push\nint"     3002    2459    1520    3305
    3 "copy\nint"     2985    2057    1521    3152
    4 "clear\nint"    1374    827     718     1469
    5 "pop\nint"      1416    1221    717     5467
    6 "push\npair"    4214    2752    946     6826
    7 "copy\npair"    6127    2105    993     7330
    8 "clear\npair"   2881    885     711     3564
    9 "pop\npair"     3046    5434    783     26538
     2"push\nint"     3002    2459    1542    3269
     3"copy\nint"     2985    2057    1539    3083
     4"clear\nint"    1374    827     756     1469
     5"pop\nint"      1416    1221    760     5098
     6"push\npair"    4214    2752    950     6873
     7"copy\npair"    6127    2105    987     7293
     8"clear\npair"   2881    885     751     3460
     9"pop\npair"     3046    5434    822     24962
  • doc/papers/general/evaluation/timing.gp

    r8b001bd r3d8f2f8  
    2424set yrange [0:10]
    2525
    26 set label "26.5" at 7.125,10.5
     26set label "25.0" at 7.125,10.5
    2727
    2828# set datafile separator ","
Note: See TracChangeset for help on using the changeset viewer.