File tree Expand file tree Collapse file tree 13 files changed +12
-13
lines changed Expand file tree Collapse file tree 13 files changed +12
-13
lines changed Original file line number Diff line number Diff line change 1- // based on 1.cs 
2- 
31primitive  EmptyNode  
42  fun  check () : U32  => 0 
53
Original file line number Diff line number Diff line change 1- // Based on the Rust #1  implementation.  
1+ // Single-thread  implementation 
22
33actor  Main 
44  new  create (env: Env ) =>
Original file line number Diff line number Diff line change 11// Based on the OCaml version from "The Computer Language Benchmarks Game" 
22// https://salsa.debian.org/benchmarksgame-team/benchmarksgame/ 
3- // Contributed by Ethan Burns, translated to Pony by GitHub Copilot. 
43
54use  " collections" 
65
Original file line number Diff line number Diff line change 1- // Based on the Rust #1  implementation. 
1+ // Based on the Rust (1.rs)  implementation. 
22
33use  " collections" 
44
Original file line number Diff line number Diff line change 1- // Based on the C #1 implementation. 
21use  " format" 
32
43actor  Main 
Original file line number Diff line number Diff line change 1- // Based on the OCaml (3.ml) and C implementations in this repo; single-threaded; reads >THREE and computes k-mer frequencies.  
1+ // Based on the OCaml (3.ml) and C implementations in this repo; single-threaded; 
22use  " collections" 
33use  " files" 
44
Original file line number Diff line number Diff line change 1+ // Based on OCaml (1.ml) and Zig implementation. 
2+ // It timeouts on bigger data  
3+ 
14use  " collections" 
25
3- // Based on the Rust #1 implementation. 
46class  LCG 
57  let  a: U32  = 1103515245 
68  let  c: U32  = 12345 
Original file line number Diff line number Diff line change 1+ // based on 1.zig 
12use  " collections" 
23
3- // based on 1.zig 
44actor  Main 
55  new  create (env: Env ) =>
66    let  n0: USize  = try  env.args (1 )?.usize ()? else  8  end 
Original file line number Diff line number Diff line change 1- // based on 1.go 
1+ // based on 1.go implementation  
22primitive  _NoneI64 
33
44class  Node 
Original file line number Diff line number Diff line change 1- // based on 1.rs 
21// Based on https://github.com/ponylang/ponyc/blob/main/examples/n-body/n-body.pony 
32
43use  " format" 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments