-
-
Notifications
You must be signed in to change notification settings - Fork 32
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: update pkg caller identification in initialize (#138)
Replace the usage of `runtime.Caller` with the faster, zero memory allocation, and convenient `loc.Caller` in `teler.New`. This change introduces a performance improvement, especially when using the `nikandfor_loc_unsafe` build tag. Signed-off-by: Dwi Siswanto <[email protected]>
- Loading branch information
1 parent
c6ab7f3
commit 6c710fa
Showing
3 changed files
with
6 additions
and
3 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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