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
#include <immintrin.h> | |
#include <inttypes.h> | |
#include <stdio.h> | |
char *sprint_m256(__m256 v) | |
{ | |
static char tmp[256]; | |
float f[8]; | |
_mm256_store_ps(f, v); |
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
export class PromiseQ { | |
constructor() { | |
this._queue = []; | |
} | |
async append(callback, param) { | |
const self = this; | |
const process = () => { | |
if (self._queue.length == 0) { | |
return; |
OlderNewer