issues
search
SnowyMouse
/
chimera
The update to Halo PC that never was
https://chimera.opencarnage.net
GNU General Public License v3.0
137
stars
26
forks
source link
Optimise chat filtering in `draw_chat_message`
#82
Closed
num0005
closed
2 years ago
num0005
commented
2 years ago
Don't create a new regex for each string.
Don't convert to utf8 for filtering to then convert right back to utf16 PS: The function feels misnamed, does it actually draw the chat message or does it just push it into some buffer and other code draws it? It's not clear.
num0005
commented
2 years ago
seems to work fine
SnowyMouse
commented
2 years ago
Ooh, this is pretty nice. Thanks!