|
|
|
|
|
by hutzlibu
1344 days ago
|
|
"keyboard side effects(e.g. Ctrl, W), " You can intercept and cancel the standard browser events and therefore prevent closing the tab for example with Strg W. Storage option on the web for more data is indexedDB. It is quite fast and stable by now. What kind of network issues do you have? But general performance I would not suspect to go drastically up anytime soon, since you already use wasm.
(Unless you find some emscripten flags, that speed up things, but this is not my area) |
|
For storage, a bare minimum Minetest world needs 1GB, grow-able to multiple gigabytes. I don't think IndexedDB is meant for that.
The network issues are specific to Firefox. Multiple threads in Minetest do network I/O. In Chrome this works fine, but on Firefox only the main thread can do I/O, and so network requests are proxied to the main thread (this is done transparently by Firefox, using a mutex internal to firefox). Unfortunately this arrangement leads to a deadlock given the particular way it is used.