- Optimized list concatenation in PacketConsumer from O(n) to O(1) by prepending events - Refactored coordinate rounding to avoid recreating anonymous functions on each call - Added database indexes for case-insensitive searches on upper(sender) and upper(base_callsign) - Implemented RegexCache to avoid recompiling regex patterns for wildcard device matching - Added compound index on upper(sender) with received_at for efficient sorted queries These changes improve performance in hot paths: - Packet batching is now more efficient with better list operations - Coordinate processing avoids function allocation overhead - Database queries using UPPER() now use functional indexes - Device wildcard matching no longer recompiles regex on every lookup 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| aprsme | ||
| aprsme_web | ||
| aprs_web.ex | ||
| aprsme.ex | ||