jesseduffield.lazygit/pkg/gui/presentation
Stefan Haller 6ca627d9d7 Store fromPos/toPos as 16-bit ints, and reorder fields for better packing
Hopefully, graphs will never get wider than 32768 characters. (They would get
kind of hard to navigate if they did...)

This reduces the size of the Pipe struct from 48 to 32 bytes, which makes a
significant difference when there are many millions of instances.
2025-04-29 14:57:15 +02:00
..
authors Store TextStyle in Pipe struct as pointer 2025-04-29 14:57:15 +02:00
graph Store fromPos/toPos as 16-bit ints, and reorder fields for better packing 2025-04-29 14:57:15 +02:00
icons Cleanup: use IsMerge instead of counting Parents 2025-04-29 14:57:15 +02:00
branches.go Store TextStyle in Pipe struct as pointer 2025-04-29 14:57:15 +02:00
branches_test.go Add ability to configure branch color patterns 2025-01-12 13:44:26 +01:00
commits.go Store TextStyle in Pipe struct as pointer 2025-04-29 14:57:15 +02:00
commits_test.go Store fromHash/toHash in Pipe struct as pointers 2025-04-29 14:57:15 +02:00
files.go Fix display of renamed files 2025-04-02 18:15:44 +02:00
files_test.go Store Commit.Hash by pointer (kept in a pool of hashes) 2025-04-29 14:57:15 +02:00
item_operations.go Show inline waiting status when checking out a local branch 2024-03-17 07:53:38 +01:00
reflog_commits.go Make Commit.Hash a getter for an unexported hash field 2025-04-29 14:57:15 +02:00
remote_branches.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
remotes.go Add SpinnerConfig 2024-04-06 13:46:15 +02:00
stash_entries.go feat: add age on stash lines 2023-12-27 11:21:49 +01:00
status.go Make WorkingTreeState a struct, and add cherry-picking and reverting states 2025-04-20 15:53:17 +02:00
submodules.go Show all submodules recursively 2024-03-07 20:16:28 +01:00
suggestions.go Standardise on using lo for slice functions 2023-07-30 18:51:23 +10:00
tags.go Add SpinnerConfig 2024-04-06 13:46:15 +02:00
worktrees.go Use fields rather than methods on worktrees 2023-07-30 18:35:24 +10:00