I hereby claim:
- I am hparker on github.
- I am hparker (https://keybase.io/hparker) on keybase.
- I have a public key ASBiPFYaMqFUtiIFyB3ysinEdyiFWdF-MfyoOc1_-1uV3Ao
To claim this, I am signing this object:
title Totally Fine Library | |
author Adam Hess | |
homepage www.hparker.xyz | |
======== | |
OBJECTS | |
======== | |
Player |
# frozen_string_literal: true | |
require "bundler/inline" | |
gemfile(true) do | |
source "https://rubygems.org" | |
git_source(:github) { |repo| "https://github.com/#{repo}.git" } | |
gem "rails", github: "rails/rails", branch: "main" |
⋊> ~/c/ruby on getlocal-of-same-object-becomes-dup ⨯ ./ruby --version 15:27:30 | |
ruby 3.1.0dev (2021-03-17T21:17:37Z getlocal-of-same-o.. 383292776f) [x86_64-darwin19] | |
⋊> ~/c/ruby on getlocal-of-same-object-becomes-dup ⨯ /Users/hparker/.rbenv/shims/ruby --version 15:27:53 | |
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin19] | |
⋊> ~/c/ruby on getlocal-of-same-object-becomes-dup ⨯ benchmark-driver benchmark/repeated_local.rb -e ./ruby -e /Users/hparker/.rbenv/shims/ruby 15:27:55 | |
Calculating ------------------------------------- | |
./ruby /Users/hparker/.rbenv/shi |
#include <raylib.h> | |
#include <stdio.h> | |
#include <stdlib.h> | |
struct Target { | |
Vector2 position; | |
int size | |
}; | |
using System.Collections; | |
using System.Collections.Generic; | |
using UnityEngine; | |
public class looker : MonoBehaviour | |
{ | |
[SerializeField] private GameObject target; | |
[SerializeField] private float viewAngle = 30f; | |
[SerializeField] public RaycastHit hit; |
module SqlParser exposing (..) | |
import Parser exposing ((|.), (|=), Parser, Trailing(..), float, keyword, spaces, succeed, symbol) | |
import Set | |
type alias Query = | |
{ select : List SelectField | |
, from : String | |
} |
I hereby claim:
To claim this, I am signing this object:
x = []
10_000_000.times {
x = x.concat([1])
}
p GC.stat
x = []
10_000_000.times {
puts "double assignment:" | |
puts Benchmark.measure { | |
100_000_000.times { "abc" } | |
} | |
# double assignment: | |
# 9.320000 0.010000 9.330000 ( 9.316967) | |
puts "double comparisons:" | |
x = "a" |