Skip to content

Instantly share code, notes, and snippets.

@hjanetzek
hjanetzek / gist:7715486
Last active December 29, 2015 19:10
OpenJDK fail?
package eeek;
public class Test {
abstract class Inlist<T> {
T next;
}
abstract class Pool<T extends Inlist<T>> {
abstract T get();
}
TANGRAM shaderProgram.cpp:145: >>> VERTEX {style:heightglowline}
#define TANGRAM_EPSILON 0.00001
#define TANGRAM_WORLD_POSITION_WRAP 100000.
#define TANGRAM_DEPTH_DELTA 0.000031
#define TANGRAM_VERTEX_SHADER
#pragma tangram: extensions
#ifdef GL_ES
precision highp float;
#endif
#pragma tangram: defines
@hjanetzek
hjanetzek / gist:62794836821182c80dcb
Last active December 10, 2016 02:04
drawing circles
package org.oscim.test;
import static java.lang.Math.random;
import static org.oscim.backend.canvas.Color.fade;
import static org.oscim.utils.ColorUtil.shiftHue;
import org.oscim.backend.canvas.Color;
import org.oscim.core.GeometryBuffer;
import org.oscim.gdx.GdxMapApp;
import org.oscim.layers.GenericLayer;
global:
feature_order: function () { return feature.sort_rank | 0; }
fonts:
Montserrat:
url: https://fonts.gstatic.com/s/montserrat/v7/zhcz-_WihjSQC0oHJ9TCYL3hpw3pgy2gAi-Ip7WPMi0.woff
Open Sans:
- weight: 400
url: https://fonts.gstatic.com/s/opensans/v13/wMws1cEtxWZc6AZZIpiqWALUuEpTyoUstqEm5AMlJo4.woff
- weight: 400
@hjanetzek
hjanetzek / export.geojson
Created November 10, 2018 17:18
diet:vegeterian
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Timing

BenchTileBuilder

  • using current bubble-wrap-style.zip and tile.mvt from our benchmarks
./bench/benchTileBuilder.out --benchmark_repetitions=4

NoJS

All JS functions replaced with some default values that should also build the same set of features - so by sight this should be the baseline:

-----------------------------------------------------------------------------------------