This file contains hidden or 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
;; Call the renderer-fn macro with a template and it returns a function optimized to render it. | |
;; This happens at compile-time. | |
;; At run-time, you call this function with the parameters that will be interpolated into the template, | |
;; typically (but not limited to) a map. | |
;; | |
;; Useful in i18n for variable interpolation, for example. I'm using this to add internationalization | |
;; support to https://github.com/xavi/noir-auth-app | |
;; See usage at the end. |
This file contains hidden or 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
/* | |
* An implementation of the Wavelet Tree data structure. | |
* It is similar to a binary search tree using bits. | |
* | |
* More info here: | |
* http://siganakis.com/challenge-design-a-data-structure-thats-small | |
* http://www.alexbowe.com/wavelet-trees | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> |
This file contains hidden or 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
// kernel.cu : Defines the entry point for the console application. | |
// | |
#include "kernel.h" | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <cuda.h> | |
#include <cutil.h> | |
#include <cuda_runtime.h> |