Jimmy Miller 467992ee35
Implement optimize send in yjit (#6488)
* Implement optimize send in yjit

This successfully makes all our benchmarks exit way less for optimize send reasons.
It makes some benchmarks faster, but not by as much as I'd like. I think this implementation
works, but there are definitely more optimial arrangements. For example, what if we compiled
send to a jump table? That seems like perhaps the most optimal we could do, but not obvious (to me)
how to implement give our current setup.

Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>

* Attempt at fixing the issues raised by @XrXr

* fix allowlist

* returns 0 instead of nil when not found

* remove comment about encoding exception

* Fix up c changes

* Update assert

Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>

* get rid of unneeded code and fix the flags

* Apply suggestions from code review

Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>

* rename and fix typo

Co-authored-by: Alan Wu <XrXr@users.noreply.github.com>
2022-10-11 16:37:05 -04:00
2022-03-30 20:36:31 +13:00
2022-09-10 09:32:27 +09:00
2022-07-27 18:42:27 +09:00
2022-05-20 14:45:46 -07:00
2022-10-10 13:41:46 +09:00
2022-08-02 11:04:28 +02:00
2022-09-23 06:44:28 +09:00
2022-07-22 21:59:58 +09:00
2022-06-23 22:52:45 +09:00
2022-07-21 09:42:04 -07:00
2022-09-23 15:57:02 -07:00
2022-07-21 09:42:04 -07:00
2022-09-02 14:33:23 +09:00
2022-05-03 09:07:39 -04:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-06-10 22:22:16 -07:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-10-10 13:52:25 +09:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
GPL
2022-08-02 11:04:28 +02:00
2022-07-21 09:42:04 -07:00
2022-09-01 15:20:49 -07:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-09-26 00:41:16 +13:00
2022-09-26 09:21:05 +09:00
2022-09-23 06:44:28 +09:00
2022-06-15 10:52:37 -07:00
2022-10-09 14:00:52 +09:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-10-03 12:03:46 +02:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-10-10 13:22:15 +09:00
2022-09-14 17:30:10 +09:00
2022-03-11 15:08:23 +09:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-04-09 17:43:46 +09:00
2022-06-09 13:40:21 -05:00
2022-10-06 10:13:17 -07:00
2022-07-21 09:42:04 -07:00
2022-07-27 18:42:27 +09:00
2022-08-31 16:36:22 -05:00
2022-03-29 18:14:33 -07:00
2022-07-21 09:42:04 -07:00
2022-09-10 09:32:51 +09:00
2022-07-21 09:02:45 -04:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-03-24 10:03:51 -04:00
2022-07-21 09:42:04 -07:00
2022-07-21 09:42:04 -07:00
2022-10-11 16:37:05 -04:00

Actions Status: MinGW Actions Status: MJIT Actions Status: Ubuntu Actions Status: Windows AppVeyor status Travis Status Cirrus Status

What is Ruby?

Ruby is an interpreted object-oriented programming language often used for web development. It also offers many scripting features to process plain text and serialized files, or manage system tasks. It is simple, straightforward, and extensible.

Features of Ruby

  • Simple Syntax
  • Normal Object-oriented Features (e.g. class, method calls)
  • Advanced Object-oriented Features (e.g. mix-in, singleton-method)
  • Operator Overloading
  • Exception Handling
  • Iterators and Closures
  • Garbage Collection
  • Dynamic Loading of Object Files (on some architectures)
  • Highly Portable (works on many Unix-like/POSIX compatible platforms as well as Windows, macOS, etc.) cf. https://github.com/ruby/ruby/blob/master/doc/maintainers.rdoc#label-Platform+Maintainers

How to get Ruby with Git

For a complete list of ways to install Ruby, including using third-party tools like rvm, see:

https://www.ruby-lang.org/en/downloads/

The mirror of the Ruby source tree can be checked out with the following command:

$ git clone https://github.com/ruby/ruby.git

There are some other branches under development. Try the following command to see the list of branches:

$ git ls-remote https://github.com/ruby/ruby.git

You may also want to use https://git.ruby-lang.org/ruby.git (actual master of Ruby source) if you are a committer.

How to build

see Building Ruby

Ruby home page

https://www.ruby-lang.org/

Documentation

Mailing list

There is a mailing list to discuss Ruby. To subscribe to this list, please send the following phrase:

subscribe

in the mail body (not subject) to the address ruby-talk-request@ruby-lang.org.

Copying

See the file COPYING.

Feedback

Questions about the Ruby language can be asked on the Ruby-Talk mailing list or on websites like https://stackoverflow.com.

Bugs should be reported at https://bugs.ruby-lang.org. Read "Reporting Issues" for more information.

Contributing

See "Contributing to Ruby", which includes setup and build instructions.

The Author

Ruby was originally designed and developed by Yukihiro Matsumoto (Matz) in 1995.

matz@ruby-lang.org

Description
Languages
Ruby 58.9%
C 29.7%
Rust 4%
C++ 3%
Makefile 2.1%
Other 2.2%