pachli-android/core
Nik Clayton 33e1b418cf
refactor: Improve blurhash decoding performance (#770)
By Christophe Beyls in https://github.com/tuskyapp/Tusky/pull/4515.
Their commit notes:

Improve the performance of `BlurHashDecoder` while also reducing memory
allocations.

- Precompute cosines tables before composing the image so each cosine
value is only computed once.
- Compute cosines tables once if both are identical (for square images
with the same number of colors in both dimensions).
- Store colors in a one-dimension array instead of a two-dimension array
to reduce memory allocations.
- Use a simple String.indexOf() to find the index of a Base83 char,
which is both faster and needs less memory than a HashMap thanks to
better locality and no boxing of chars.
- No cache is used, so computations may be performed in parallel on
background threads without the need for synchronization which limits
throughput.
2024-06-20 13:19:15 +02:00
..
accounts fix: Ensure logging out accounts completes (#515) 2024-03-10 12:25:12 +01:00
activity refactor: Use androidx.core:core-splashscreen library (#766) 2024-06-19 16:27:49 +02:00
common refactor: Improve blurhash decoding performance (#770) 2024-06-20 13:19:15 +02:00
data feat: Show "Suggested accounts" (#734) 2024-06-17 21:43:12 +02:00
database refactor: Remove `TabData` type (#576) 2024-03-30 23:27:25 +01:00
designsystem refactor: Improve IO performance and simplify code with Okio (#769) 2024-06-20 13:18:58 +02:00
model refactor: Remove `TabData` type (#576) 2024-03-30 23:27:25 +01:00
navigation feat: Show "Suggested accounts" (#734) 2024-06-17 21:43:12 +02:00
network feat: Support server filters in GoToSocial 0.16.0 (#765) 2024-06-19 14:38:01 +02:00
network-test change: Move MediaUploadApi to the correct package 2024-04-30 16:23:34 +02:00
preferences refactor: Move CardViewMode to core.preferences (#729) 2024-06-10 16:28:55 +02:00
testing fix(deps): update dependency org.robolectric:robolectric to v4.12.2 (#707) 2024-06-18 14:30:17 +02:00
ui feat: Show "Suggested accounts" (#734) 2024-06-17 21:43:12 +02:00
AndroidManifest.xml refactor: Start creating core modules (#286) 2023-12-04 16:58:36 +01:00