Aura

Results 86 comments of Aura
trafficstars

You can, but you can also squash the commits with the breaking change list in the commit description.

I faced a similar issue, my bots support all 31 languages, and I have to make very small commands because otherwise they error with the aforementioned error. Just recently, I...

Hi! I opened #109, I hope that solves your issue! I peeked around because of https://github.com/discordjs/discord.js/pull/9756, which saw some demand for a color library, and base10 is just the best...

Thing is, although the API is called `setValidationEnabled`, the getter method (`getValidationEnabled()`) is only called in tests, not a single time in the source code, and instead the library uses...

> MY EYES Deal with it.

It still uses arrays, though fast-levenshtein re-uses them: https://github.com/hiddentao/fast-levenshtein/blob/9c3c4aa3e19f8faf36b2d5df9884532563332094/levenshtein.js#L11-L12 Also the benchmarks show it's slower: leven benchmarks: 165,926 op/s » leven 164,398 op/s » talisman 1,044 op/s » levenshtein-edit-distance 628...

[CI](https://dev.azure.com/kyranet/kyranet.public/_build/results?buildId=2614&view=logs&jobId=9ef21fd1-5d60-5fa4-f8b2-6dc79e173863&taskId=516d74c5-15a9-50a0-24d9-dba41a487a2d&lineStart=21&lineEnd=39&colStart=1&colEnd=1) on benchmark (#2).

Uhm, not a fan of [multiple memory allocations](https://github.com/sunesimonsen/ukkonen/blob/1a46b9fc74cacf9bac32d0a454b2c69b30811549/index.js#L57-L66), that approach is very complex and could be documented more. But I'm up to porting it if it's the fastest approach, I...

By the way, does AssemblyScript give any mechanism to create a value array (without pointers to memory)? I think dropping memory allocation, deallocation, and accesses, would allow further optimizations, speeding...

> Yes, if you alloc new string on js side you should free it. That's what I want to do, the new docs show uses of `module.__retain`, `module.__allocString`, and `module.__release`...