This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Homebrew build logs for cputhrottle on Mac OS X 10.11.4 | |
| Build date: 2016-05-07 19:18:45 | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | # Elixir, functional (one understandable, and one fast version) | |
| defmodule Flat do | |
| # Easy to read, preferred for small input. O(length*depth) | |
| def flatten([[a]]), do: flatten([a]) | |
| def flatten([a]), do: [a] | |
| def flatten([a|bs]), do: flatten(a) ++ flatten(bs) | |
| # Linear time, a bit harder to read if you're not used to | |
| # high-performant functional programming. O(length+depth) | |
| def flatfast(a), do: reverse flatfast(a, []) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import random | |
| for twenty in [3, 4, 5, 6, 7, 8, 9, 10, 12, 15, 17, 20, 22, 25, 27, 30, 33, 37, 40, 44, 50, 54, 60, 64, 70, 74, 80, 84, 90, 94, 100]: | |
| print("#" * 10) | |
| print("twenty", twenty) | |
| n = 10 ** 6 | |
| found = 0 | |
| for k in range(n): | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import subprocess | |
| import sys | |
| import os | |
| try: # windows | |
| x = subprocess.run([os.environ['USERPROFILE'] + r"\AppData\Roaming\npm\elm-test.cmd"], stdout=subprocess.PIPE, | |
| stderr=subprocess.PIPE) | |
| except: # macos / linux | |
| x = subprocess.run([r"/usr/local/bin/elm-test"], stdout=subprocess.PIPE, stderr=subprocess.PIPE) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | module Fact.Base64 exposing (..) | |
| {-| Decode/encode base64 strings to/from ints. | |
| -} | |
| import Bitwise | |
| import Char | |
| import List.Extra | |
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | Benchmark Finished | |
| Group: Fuzz | |
| Group: int | |
| Benchmark: generating | |
| mean ops/sec 110,107.98 (stddev: 4,621.47, 4.2%) | |
| mean runtime 9.097ns (stddev: 370.074µs, 4.07%) | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | type FrontendMsg | |
| = FNoop | |
| | Increment | |
| | Decrement | |
| | OnBackendMsg ToFrontend | |
| update : FrontendMsg -> Model -> ( Model, Cmd FrontendMsg ) | |
| update msg model = | |
| case msg of | |
| FNoop -> |