mirror of
https://github.com/junegunn/fzf.git
synced 2025-12-22 12:11:28 +08:00
Reduce memory footprint
This commit is contained in:
@@ -12,6 +12,13 @@ func Max(first int, items ...int) int {
|
||||
return max
|
||||
}
|
||||
|
||||
func Max32(first int32, second int32) int32 {
|
||||
if first > second {
|
||||
return first
|
||||
}
|
||||
return second
|
||||
}
|
||||
|
||||
func Min(first int, items ...int) int {
|
||||
min := first
|
||||
for _, item := range items {
|
||||
|
||||
Reference in New Issue
Block a user