euddraft
euddraft copied to clipboard
System for pluginizing eudplib codes.
We replaced binary search with jump table for switch in https://github.com/armoha/euddraft/issues/64. Jump table is optimal when cases are dense. Some cases are not suitable for jump table. ## Background -...
### Characteristics - `Bag` in Artemis Framework - Fast to iterate, add and remove. - Has fixed capacity. - Unstable collection; does not preserve items order after removal
`filename.encode("mbcs")` got error on Korean output filename + Japanese Windows locale, during freeze protection invocation. Original issue: https://cafe.naver.com/edac/108616 How to fix: - [ ] Add unicode (UTF-16) support for mpq...
Examples: https://www.sphinx-doc.org/en/master/examples.html https://docs.python.org/3/index.html
Only reproducible when Cython enabled: ```js function afterTriggerExec() { var x; x -= Db(4); } ``` > [1/3 Step] Collecting objects... ========================================== [Error] Python int too large to convert to...
Currently `EPDOffsetMap` has `_checkEPDAddr`, so `const cunit = EPDOffsetMap(ptr);` raises following warning: > ``` > E:\eudplib\eudplib\utils\eperror.py:49: EPWarning: EPD check warning. Don't use raw pointer address > warnings.warn(message, EPWarning) > File...
Ofc we don't have bool type yet. **Summary of ~~unusual~~ Condition usages:** 1. Caching ```js var upnum, charge; const cache3051 = MemoryXEPD(3051, Exactly, 0, 15); if (!cache3051) { // these...
- [ ] Peephole optimizations: `2 * a` → `a + a` - [ ] Loop-invariant code motion: ```js while(true) { a += dwread(dest); } // ↓ const v =...