Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | src/lstring.js: Use lua_assert instead of assert | daurnimator | 2018-01-18 |
| | |||
* | TypedArray.toString() doesn't return a unique string in some browsers | daurnimator | 2018-01-07 |
| | | | | | | | | | e.g. IE11 Instead iterate over string contents and manually build hash. I have *not* tested this for performance. An alternative option is to use Array.prototype.join.call | ||
* | Use Uint8Array.prototype.toString instead of .join (IE compat) | daurnimator | 2018-01-06 |
| | |||
* | src/defs: Rename luastring_cmp to luastring_eq | daurnimator | 2018-01-06 |
| | |||
* | Support environments without a Uint8Array.from | daurnimator | 2018-01-06 |
| | |||
* | Use Uint8Array to back strings | daurnimator | 2017-12-13 |
| | |||
* | Add internal function defs.luastring_cmp for string equality checks | daurnimator | 2017-11-12 |
| | |||
* | Add is_luastring function instead of using Array.isArray directly | daurnimator | 2017-06-09 |
| | |||
* | src/ltable.js: Implement table_hash for lightuserdata | daurnimator | 2017-05-23 |
| | |||
* | Revert "src/lstring.js: Freeze strings to catch accidental modification" | daurnimator | 2017-05-09 |
| | | | | | | This reverts commit 5cb00bbae4f1afb5cd476a637975dd9220898e15. It turns out that frozen objects are slower, see https://jsperf.com/object-freeze-performance | ||
* | Cache string hashes in TString | daurnimator | 2017-05-09 |
| | |||
* | Introduce a TString class | daurnimator | 2017-05-08 |
| | |||
* | src/lstring.js: Freeze strings to catch accidental modification | daurnimator | 2017-05-08 |
| | |||
* | Move string functions to centralised lstring.js | daurnimator | 2017-05-08 |