This repository was archived by the owner on Dec 23, 2024. It is now read-only.
faster pyrogram lre encode implementation#938
Merged
Conversation
cavallium
approved these changes
Mar 16, 2022
cavallium
approved these changes
Mar 17, 2022
Member
|
The same can be applied to |
Contributor
Author
|
https://gist.github.com/andrew-ld/66f91ea99b358babddf6d48892c7569f |
Contributor
Author
|
@delivrance ping |
Member
|
Merged, thanks. |
AsmSafone
pushed a commit
to AsmSafone/pyrogram
that referenced
this pull request
Apr 8, 2022
* faster pyrogram lre encode implementation * Update file_id.py * optimized rle decode Co-authored-by: andrew (from workstation) <andrew-ld@protonmail.com> Co-authored-by: Dan <14043624+delivrance@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
in accordance with my tests (https://gist.github.com/andrew-ld/72f8ac8c41330a47c99a9f79958625eb), using a list and only at the end converting it in bytes is more efficient because bytes is an immutable instance.