Update README.md
A Swift module map for jemalloc
brew install jemalloc
sudo apt-get install -y libjemalloc-dev
Add a dependency to your Package.swift
dependencies: [ .package(url: "https://github.com/ordo-one/package-jemalloc", .upToNextMajor(from: "1.0.0")) ],
And finally add the dependency to your target
.executableTarget( name: "xxx", dependencies: [ .product(name: "jemalloc", package: "package-jemalloc"), ] ),
©Copyright 2023 CCF 开源发展委员会 Powered by Trustie& IntelliDE 京ICP备13000930号
package-jemalloc
A Swift module map for jemalloc
Usage
macOS
Ubuntu
Add a dependency to your Package.swift
And finally add the dependency to your target