You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mleku
b47a40bc59
Implement EstimateSize method for filter marshaling and optimize Marshal function
...
- Added EstimateSize method to calculate the estimated size for marshaling the filter to JSON, accounting for various fields including IDs, Kinds, Authors, Tags, and timestamps.
- Enhanced the Marshal function to pre-allocate the buffer based on the estimated size, reducing memory reallocations during JSON encoding.
- Improved handling of nil tags and optimized key slice reuse in the Unmarshal function to minimize allocations.
2 months ago
..
bech32encoding
Migrate internal module imports to unified package path.
4 months ago
envelopes
Remove `bufpool` references and unused imports, optimize memory operations.
4 months ago
event
Add benchmark tests for event encoders and optimize performance
2 months ago
filter
Implement EstimateSize method for filter marshaling and optimize Marshal function
2 months ago
hex
initial addition of essential crypto, encoders, workflows and LLM instructions
5 months ago
ints
Refactor tag encoder to optimize buffer reuse, simplify tag marshaling, and improve event handling; enhance tests with additional coverage and example validation.
5 months ago
kind
Refactor Nostr Client and Update Dependencies
3 months ago
reason
Refactor database methods: simplify `SaveEvent` signature, enhance logging, and introduce deletion check logic with `CheckForDeleted`.
4 months ago
tag
Improve error handling and logging in message processing
3 months ago
text
Update error handling and logging in message processing
3 months ago
timestamp
Migrate internal module imports to unified package path.
4 months ago
varint
Migrate package imports from `next.orly.dev` to new `orly` domain structure; add new `varint` and `binary` encoders with comprehensive tests; enhance existing tag and envelope implementations with additional methods, validations, and test coverage; introduce shared `test.sh` script for streamlined testing across modules.
4 months ago