Changeset 1c85ffc
- Timestamp:
- Dec 5, 2023, 11:50:10 AM (13 months ago)
- Branches:
- master
- Children:
- 81da3da4
- Parents:
- 2b12d6e (diff), 2345ab3 (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. - Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
src/AST/Chain.hpp
r2b12d6e r1c85ffc 33 33 template<typename actual_node_t, typename child_t> 34 34 auto operator()( child_t actual_node_t::*child ) { 35 auto n = mutate(base.get());35 node_t * n = base.get_and_mutate(); 36 36 actual_node_t * node = strict_dynamic_cast<actual_node_t *>(n); 37 base = node;38 37 return _chain_mutator< typename std::remove_reference< decltype(node->*child) >::type >{node->*child}; 39 38 } 40 39 41 40 node_t * operator->() { 42 auto n = mutate(base.get()); 43 base = n; 44 return n; 41 return base.get_and_mutate(); 45 42 } 46 43 }; -
src/ResolvExpr/Resolver.cc
r2b12d6e r1c85ffc 29 29 #include "Unify.h" // for unify 30 30 #include "CompilationState.h" 31 #include "AST/Chain.hpp"32 31 #include "AST/Decl.hpp" 33 32 #include "AST/Init.hpp" … … 104 103 } 105 104 } 106 } 107 } 105 } 106 } 108 107 visit_children = false; 109 108 } … … 607 606 ( objectDecl->get_type() )->base->base ) { 608 607 objectDecl = fixObjectType( objectDecl, context ); 609 currentObject = ast::CurrentObject{ 610 objectDecl->location, 608 currentObject = ast::CurrentObject{ 609 objectDecl->location, 611 610 enumBase 612 611 }; -
tests/.expect/PRNG.x86.txt
r2b12d6e r1c85ffc 26 26 27 27 Sequential 28 trials 10000000 0 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%28 trials 10000000 buckets 100000 min 62 max 144 avg 100.0 std 10.0 rstd 10.0% 29 29 30 30 Concurrent 31 trials 10000000 0 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%32 trials 10000000 0 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%33 trials 10000000 0 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%34 trials 10000000 0 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%31 trials 10000000 buckets 100000 min 62 max 144 avg 100.0 std 10.0 rstd 10.0% 32 trials 10000000 buckets 100000 min 62 max 144 avg 100.0 std 10.0 rstd 10.0% 33 trials 10000000 buckets 100000 min 62 max 144 avg 100.0 std 10.0 rstd 10.0% 34 trials 10000000 buckets 100000 min 62 max 144 avg 100.0 std 10.0 rstd 10.0% 35 35 36 36 prng() prng(5) prng(0,5) … … 58 58 59 59 Sequential 60 trials 2000000 0 buckets 100000 min 144 max 270 avg 200.0 std 14.1 rstd 7.1%60 trials 2000000 buckets 100000 min 3 max 42 avg 20.0 std 4.5 rstd 22.4% 61 61 62 62 Concurrent 63 trials 2000000 0 buckets 100000 min 144 max 270 avg 200.0 std 14.1 rstd 7.1%64 trials 2000000 0 buckets 100000 min 144 max 270 avg 200.0 std 14.1 rstd 7.1%65 trials 2000000 0 buckets 100000 min 144 max 270 avg 200.0 std 14.1 rstd 7.1%66 trials 2000000 0 buckets 100000 min 144 max 270 avg 200.0 std 14.1 rstd 7.1%63 trials 2000000 buckets 100000 min 3 max 42 avg 20.0 std 4.5 rstd 22.4% 64 trials 2000000 buckets 100000 min 3 max 42 avg 20.0 std 4.5 rstd 22.4% 65 trials 2000000 buckets 100000 min 3 max 42 avg 20.0 std 4.5 rstd 22.4% 66 trials 2000000 buckets 100000 min 3 max 42 avg 20.0 std 4.5 rstd 22.4% 67 67 68 68 prng(t) prng(t,5) prng(t,0,5) … … 90 90 91 91 Sequential 92 trials 10000000 0 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%92 trials 10000000 buckets 100000 min 62 max 144 avg 100.0 std 10.0 rstd 10.0% 93 93 94 94 Concurrent 95 trials 10000000 0 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%96 trials 10000000 0 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%97 trials 10000000 0 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%98 trials 10000000 0 buckets 100000 min 858 max 1147 avg 1000.0 std 31.5 rstd 3.2%95 trials 10000000 buckets 100000 min 62 max 144 avg 100.0 std 10.0 rstd 10.0% 96 trials 10000000 buckets 100000 min 62 max 144 avg 100.0 std 10.0 rstd 10.0% 97 trials 10000000 buckets 100000 min 62 max 144 avg 100.0 std 10.0 rstd 10.0% 98 trials 10000000 buckets 100000 min 62 max 144 avg 100.0 std 10.0 rstd 10.0%
Note: See TracChangeset
for help on using the changeset viewer.