Skip to content

Instantly share code, notes, and snippets.

4.940725, [MapPerf][HashMap][Comparison], (put 1000000 elements)
2.348867, [MapPerf][HashMap][Comparison], (map with 1000000 elements, remove 333333 elements)
1.496195, [MapPerf][HashMap][Comparison], (map with 1000000 elements, update 333333 elements)
1.167242, [MapPerf][HashMap][Comparison], (tryGet 1000000 values)
4.460648, [MapPerf][HashMap][Equality], (put 1000000 elements)
1.662442, [MapPerf][HashMap][Equality], (map with 1000000 elements, remove 333333 elements)
2.711574, [MapPerf][HashMap][Equality], (map with 1000000 elements, update 333333 elements)
1.123116, [MapPerf][HashMap][Equality], (tryGet 1000000 values)
9.214463, [MapPerf][CamlStringMap], (put 1000000 elements)
2.394586, [MapPerf][CamlStringMap], (map with 1000000 elements, remove 333333 elements)
import 'isomorphic-fetch';
const AUTH_TOKEN = '';
const AD_ACCOUNT = "";
const PAGE_ID = "";
const PRODUCT_SET_ID = "";
const PRODUCT_AUDIENCE = "";
const CAMPAIGN_ID = "";
@bordoley
bordoley / gist:2328fd5016951efa8792
Created October 12, 2015 23:24
Mixing React with RX for success
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Basic Example with RX+React</title>
</head>
<body>
<div id="container"/>
<script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/4.0.1/rx.all.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/react/0.14.0/react.js"></script>
@bordoley
bordoley / gist:59be7941ce918562cd39
Last active August 2, 2025 19:37
F# Event Loop Implementation
module EventLoop
open System
open System.Collections.Concurrent
open System.Threading
open System.Threading.Tasks
type IEventLoop =
inherit IDisposable