We welcome bug fixes and contributions from the community.
Please open a GitHub issue if you encounter a bug or have a feature request. Include steps to reproduce the issue when possible.
- Fork the repository and create your branch from
main. - Ensure your code compiles without warnings (
bundle exec rake compile). - Add tests for any new functionality.
- Ensure the test suite passes (
bundle exec rake test). - Ensure RuboCop passes (
bundle exec rubocop). - Submit your pull request.
git clone https://github.com/Shopify/string_view
cd string_view
bundle install
bundle exec rake compile
bundle exec rake testbundle exec rake compile
ruby --yjit -Ilib benchmark/bench.rbThis project is governed by the Contributor Code of Conduct. By participating, you are expected to uphold this code. Please report unacceptable behavior to opensource@shopify.com.