Logo
Explore Help
Sign In
cthrace/collabvm-1.2.ts
1
0
Fork 0
You've already forked collabvm-1.2.ts
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
2b90bc03c8498c822fd73cc0b73fa980c0c4662e
collabvm-1.2.ts/cvm-rs/index.js

7 lines
175 B
JavaScript
Raw Normal View History

cvmts: replace jpeg-turbo native module with new rust module This module also does threadpooling internally, so we don't need Piscina anymore (which I'm pretty sure was actually bottlenecking.)
2024-06-20 03:20:56 -04:00
// *sigh*
import { createRequire } from 'module';
const require = createRequire(import.meta.url);
cvm-rs: merge guac and jpeg libs together into one doesn't really need to be two seperate libraries. also preperation for other funnies the build script has been replaced with a much saner justfile which uses much saner "yarn workspace" invocations instead of blindly cding all over the place
2024-06-22 21:14:05 -04:00
export let {guacDecode, guacEncode, jpegEncode} = require('./index.node');
cvmts: replace jpeg-turbo native module with new rust module This module also does threadpooling internally, so we don't need Piscina anymore (which I'm pretty sure was actually bottlenecking.)
2024-06-20 03:20:56 -04:00
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.3 Page: 46ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API