Skip to content

Instantly share code, notes, and snippets.

@olajep
olajep / pal-benchmark.txt
Last active Aug 29, 2015
pal cflags benchmark 20150812
View pal-benchmark.txt
PAL Benchmark
=============
Comparison between different CFLAGS
Date: 2015-08-12
Commit: d88cd210f7774ba4472a494b8bd919657db8d36c
@olajep
olajep / code-size.html
Created Jun 16, 2015
WIP: Code size regression report
View code-size.html
<html>
<head>
<title>PAL code size report for x86_64</title>
<style>
.increase {
background-color: red;
}
.decrease {
background-color: green;
}
@olajep
olajep / clang-divsf3-e-gcc-Os
Last active Aug 29, 2015
clang-divsf3-e-gcc-Os
View clang-divsf3-e-gcc-Os
divsf3.o: file format elf32-epiphany
Disassembly of section .text:
00000000 <___divsf3>:
#include "fp_lib.h"
ARM_EABI_FNALIAS(fdiv, divsf3)
@olajep
olajep / epiphany-gcc-pr-fix-fp-r11-r15-regression
Last active Aug 29, 2015
epiphany-gcc-pr-fix-fp-r11-r15-regression
View epiphany-gcc-pr-fix-fp-r11-r15-regression
Ignore me (fix Github's gist name)
View rain_ordo_n.hs
rainSolver = solve 0 . zipWithRightMax
zipWithRightMax xs = zip xs maxVals
where
rev = reverse xs
(maxVals, _) = foldl maxFold ([], head rev) rev
maxFold (acc, maxVal) x = (maxVal:acc,maxFromHere)
where
maxFromHere = max maxVal x
View shared_ptr_example.diff
From 38e779344d296f9f3e72c229f7847415e438b2e0 Mon Sep 17 00:00:00 2001
From: Ola Jeppsson <ola.jeppsson@gmail.com>
Date: Fri, 15 Feb 2013 00:49:41 +0100
Subject: [PATCH] shared_ptr example
---
plugin/youcompleteme.vim | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/youcompleteme.vim b/plugin/youcompleteme.vim
You can’t perform that action at this time.