Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:Ledest:erlang:23
erlang
6527-Mark-hex-function-as-inline.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 6527-Mark-hex-function-as-inline.patch of Package erlang
From bda6477dd408f627126bbe9eb60d9ea26fa7e0b6 Mon Sep 17 00:00:00 2001 From: Nelson Vides <videsnelson@gmail.com> Date: Wed, 7 Apr 2021 17:52:11 +0200 Subject: [PATCH 7/7] Mark hex function as inline --- lib/stdlib/src/binary.erl | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/stdlib/src/binary.erl b/lib/stdlib/src/binary.erl index 7bfca5084c..0ed44aa7a3 100644 --- a/lib/stdlib/src/binary.erl +++ b/lib/stdlib/src/binary.erl @@ -366,6 +366,7 @@ get_opts_replace(_,_) -> %% Hex encoding functions %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -define(HEX(X), (hex(X)):16). +-compile({inline,[hex/1]}). -spec encode_hex(Bin) -> Bin2 when Bin :: binary(), Bin2 :: <<_:_*16>>. -- 2.35.3
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor