This file contains 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
julia> @code_llvm make_str("hi") | |
; @ REPL[20]:1 within `make_str` | |
define [1 x {}*] @julia_make_str_596({}* nonnull %0) #0 { | |
top: | |
; @ REPL[20]:2 within `make_str` | |
; ┌ @ Base.jl:178 within `sizeof` | |
%1 = bitcast {}* %0 to i64* | |
%2 = load i64, i64* %1, align 8 | |
; └ | |
; ┌ @ int.jl:83 within `<` |
This file contains 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
// def input = load_csv["/Users/nathandaly/Documents/delve/adventofcode/day1-input"] | |
// def nums = input[_, :Numbers] | |
// ic {count[nums] = 200} | |
def input_example = { | |
1721; | |
979; | |
366; | |
299; | |
675; |
This file contains 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
julia> using Salsa | |
julia> @derived foo(rt, x) = foo(rt, x+1) | |
foo (generic function with 1 method) | |
julia> rt = Runtime() | |
Salsa.Runtime(Salsa.DefaultStorage(0, ...)) | |
julia> foo(rt, 1) | |
[ Info: DOUBLING SALSA TRACE FREELIST ON THREAD 1 |
This file contains 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
[deps] | |
HTTP = "cd3eb016-35fb-5094-929b-558a96fad6f3" | |
JSON3 = "0f8b85d8-7281-11e9-16c2-39a750bddbf1" | |
ProgressMeter = "92933f4c-e287-5a05-a399-4b506db050ca" |
This file contains 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
using CSV | |
#using UnicodePlots | |
""" | |
plot_snoopl(func_csv_file, llvm_csv_file; out_csv_path="") | |
Print a barplot to stdout, optionally output a CSV file with the results, and return a | |
table with the results. | |
# Example |
This file contains 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
{"version":1,"resource":"file:///Users/daly/Documents/developer/code/deep/JuliaDeep/src/Plots-pkg-customchanges.jl","entries":[{"id":"4UvC.jl","timestamp":1665780705047}]} |
This file contains 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 io | |
import os | |
from notebook.utils import to_api_path | |
_script_exporter = None | |
_html_exporter = None | |
def script_post_save(model, os_path, contents_manager, **kwargs): | |
if model['type'] != 'notebook': | |
return |
This file contains 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
unpacking sources | |
unpacking source archive /nix/store/zwgb1rq126al7lbkxlbnwlfwqkn9h2h2-multithreading | |
source root is multithreading | |
patching sources | |
configuring | |
no configure script, doing nothing | |
building | |
processor : 0 | |
vendor_id : GenuineIntel | |
cpu family : 6 |
This file contains 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
promote_type(Type{T}, Type{UInt64}) where {T} | |
promote_type(Type{Bool}, Type{S}) where {S} | |
promote_type(Type{Bool}, Type{#s55} where #s55<:Integer) | |
promote_type(Type{T}, Type{UInt32}) where {T} | |
promote_type(Type{UInt64}, Type{S}) where {S} | |
_is_convertible_Int(Integer) | |
_promote(Real, Integer) | |
_promote(Real, Real) | |
iterate(Core.Compiler.Iterators.Zip2{_, _} where _ where _) | |
iterate(Core.Compiler.Iterators.Zip2{_, _} where _ where _, Tuple{Any, Any}) |
This file contains 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
13:10:10 ~/src/julia v1.0.3-inline-investigation ✘ ✹ ✭ make -j 6 | |
JULIA usr/lib/julia/corecompiler.ji | |
essentials.jl | |
some.jl | |
ctypes.jl | |
generator.jl | |
reflection.jl | |
options.jl | |
promotion.jl | |
tuple.jl |
NewerOlder