Git Product home page Git Product logo

rusty_camel's Introduction

Rusty Camel

Ruby snake to camel in rust

Example

require 'rusty_camel'

"some_snake_case_string".camelcase
"someCamelCaseString".snakecase

Benchmark

Converting 50k rails accounts in json format

To camel case
       user     system      total        real
Rust  0.970000   0.080000   1.050000 (  1.056655)
Ruby  9.940000   0.360000  10.300000 ( 10.363646)

To snake case
       user     system      total        real
Rust  1.100000   0.100000   1.200000 (  1.208300)
Ruby 10.960000   0.430000  11.390000 ( 11.404156)

rusty_camel's People

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

rusty_camel's Issues

RubyNLP

Dear @squiidz,

I've recently added your project to our RubyNLP list: https://github.com/arbox/nlp-with-ruby

I wonder if you want to participate in the Ruby for NLP network. You could do this in a very simple step by adding the rubynlp topic to your GitHub repository. You may want to spread a word on Twitter or on other media :)

Thank you for the project!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.