supabase / auth

A JWT based API for managing users and issuing JWT tokens
https://supabase.com/docs/guides/auth
MIT License
1.56k stars 376 forks source link

fix: fix `getExcludedColumns` slice allocation #1788

Closed cuishuang closed 1 month ago

cuishuang commented 1 month ago

getExcludedColumns allocates a slice of a particular length instead of capacity, which does not achieve the intended effect -- memory optimization.

hf commented 1 month ago

Thanks for catching this!

cuishuang commented 1 month ago

My pleasure.

coveralls commented 1 month ago

Pull Request Test Coverage Report for Build 11173681410

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details


Totals Coverage Status
Change from base Build 11165238010: 0.0%
Covered Lines: 9342
Relevant Lines: 16116

💛 - Coveralls