HEX
Server: Apache
System: Linux s198.coreserver.jp 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC 2025 x86_64
User: nagasaki (10062)
PHP: 7.1.33
Disabled: NONE
Upload Files
File: //usr/local/rvm/src/ruby-2.7.4/benchmark/array_intersection.yml
prelude: |
  small1 = [1, 2, 3]
  small2 = [1, 2, 3, 4, 5]
  small3 = [2, 3, 4, 5]
  small4 = [2]
  big1 = [1, 2, 3, 4] * 64
  big2 = [1, 2, 3] * 64
  big3 = [1, 2] * 64

benchmark:
  small-&: small1 & small2 & small3 & small4
  small-intersection: small1.intersection(small2, small3, small4)
  big-&: big1 & big2 & big3
  big-intersection: big1.intersection(big2, big3)