git.delta.rocks / jrsonnet / refs/commits / c93de7763652

difftreelog

source

tests/cpp_benchmarks/bench.01.jsonnet654 Bsourcehistory
1/*2Copyright 2015 Google Inc. All rights reserved.34Licensed under the Apache License, Version 2.0 (the "License");5you may not use this file except in compliance with the License.6You may obtain a copy of the License at78    http://www.apache.org/licenses/LICENSE-2.0910Unless required by applicable law or agreed to in writing, software11distributed under the License is distributed on an "AS IS" BASIS,12WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.13See the License for the specific language governing permissions and14limitations under the License.15*/1617local sum(x) =18  if x == 0 then19    020  else21    x + sum(x - 1);22sum(300)