<commit_before>#
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#
class Hhvm444 < Formula
  desc "JIT compiler and runtime for the Hack language"
  homepage "http://hhvm.com/"
  head "https://github.com/facebook/hhvm.git"
  url "https://dl.hhvm.com/source/hhvm-4.44.0.tar.gz"
  sha256 "c53aa0ff967f532498f7988a719562d7e5f5404b3937c5b7cf6fd5937db374a4"

  bottle do
    root_url "https://dl.hhvm.com/homebrew-bottles"
    sha256 "2acccdcd0b81cff5a9e6d74263d546bdf35e5e967b7a622d1fc1ad86d980f0ed" => :catalina
    sha256 "829e22e5470b585b5f68e032b46b7632c4ecb3f5f3b2040aa3a48f1e87c91022" => :mojave
  end

  class << Hardware::CPU
    def optimization_flags
      # Homebrew doesn't support specifying anything more recent than 'nehalem',
      # but nehalem is 19x slower than sandybrdige at some real-world workloads,
      # and sandybridge is an old enough architecture that we're going to assume<commit_msg>Added bottle for 4.44.0 on 10.13.6<commit_after>#
# Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#
class Hhvm444 < Formula
  desc "JIT compiler and runtime for the Hack language"
  homepage "http://hhvm.com/"
  head "https://github.com/facebook/hhvm.git"
  url "https://dl.hhvm.com/source/hhvm-4.44.0.tar.gz"
  sha256 "c53aa0ff967f532498f7988a719562d7e5f5404b3937c5b7cf6fd5937db374a4"

  bottle do
    root_url "https://dl.hhvm.com/homebrew-bottles"
    sha256 "2acccdcd0b81cff5a9e6d74263d546bdf35e5e967b7a622d1fc1ad86d980f0ed" => :catalina
    sha256 "829e22e5470b585b5f68e032b46b7632c4ecb3f5f3b2040aa3a48f1e87c91022" => :mojave
    sha256 "b9ddd930bab70516ee39b3446392ff6bd983df35fa494ccfd84be04b3bd10934" => :high_sierra
  end

  class << Hardware::CPU
    def optimization_flags
      # Homebrew doesn't support specifying anything more recent than 'nehalem',
      # but nehalem is 19x slower than sandybrdige at some real-world workloads,
      # and sandybridge is an old enough architecture that we're going to assume
{'fraction_non_alphanumeric': 0.07829977628635347, 'fraction_numerical': 0.14451901565995526, 'mean_word_length': 4.5073891625615765, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 8, 'https://': 6, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3906906', 'n_tokens_mistral': 1010, 'n_tokens_neox': 838, 'n_words': 207}