Comments (2)
Deciding against arbitrary wildcard matching (:na*me:
) as it just complicates the "score" calculation while not really having any use cases that make much sense.
from kawaiidiscord.
It turns out that building a roll table is slow enough to matter when a single message can contain many instances of :*:
. Factoring this out into an easy-to-memoize function drastically improves performance.
from kawaiidiscord.
Related Issues (20)
- Use High-DPI emote images when available
- Fix scaling for pixel-perfect emotes HOT 2
- Add rolled emotes to completion menu HOT 1
- Add emote metadata to help organization
- Add display-related fields to emote metadata
- Support user-defined emote sets
- Add localization support
- Emotes are not rendered in search results HOT 1
- Emote completion conflicts with default behavior for some commands
- Emoji completion behavior is not always overridden
- Tab completion does not trigger automatic textarea resize HOT 1
- Roll results change as new emotes are added
- Completion menu no longer working HOT 1
- Tooltip class changed
- Completion menu is totally broken in Firefox
- Rendering regression for edited messages with emotes
- plugin error HOT 1
- Split project into modules
- Make emote searching lazier to improve tab-complete performance with large emote sets HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kawaiidiscord.