216 karma · joined Jul 20, 2019 (7y ago) · 127 submissions
comment 2w ago · link · parent
comment 5mo ago · link · parent
5.
Try LispE in the Browser(naver.github.io ↗)
31 points · by clauderoux · 6mo ago · 1 comment
7.
Extending JavaScript at once with a WASM language(github.com ↗)
7 points · by clauderoux · 6mo ago · 1 comment
8.
MLX Library for Lisp on Mac OS(reddit.com ↗)
2 points · by clauderoux · 9mo ago · discuss
comment 1y ago · link · parent
11.
Numai is an open source JavaScript spreadsheet powered by AI(github.com ↗)
3 points · by clauderoux · 1y ago · 1 comment
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
Here is the example for 4 characters: //We look for the presence of four characters in a row ``` int32_t cc = search[3]; for (shift = 2; shift >= 0; shift--) { cc <<= 8; cc |= search[shift]; } __m256i firstchar = _mm256_set1_epi16(cc); ```
In this case, I will look for a 4 bytes integers over my sequence: ``` current_bytes = _mm256_cmpeq_epi16(firstchar, current_bytes); q <<= 1; q |= _mm256_movemask_epi8(current_bytes); ```` I'm looking for blocks of 4 characters at a time in my string.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent