Ignore:
Timestamp:
Jul 9, 2020, 8:51:43 AM (4 years ago)
Author:
coas-nagasima
Message:

mrubyを2.1.1に更新

Location:
EcnlProtoTool/trunk/mruby-2.1.1
Files:
1 edited
1 moved

Legend:

Unmodified
Added
Removed
  • EcnlProtoTool/trunk/mruby-2.1.1/benchmark/bm_so_lists.rb

    r321 r439  
    1818  # remove each individual item from right side of li3 and
    1919  # append to right side of li2 (reversing list)
    20   while (not li3.empty?)
     20  until li3.empty?
    2121    li2.push(li3.pop)
    2222  end
     
    2525  li1.reverse!
    2626  # check that first item is now SIZE
    27   if li1[0] != SIZE then
     27  if li1[0] != SIZE
    2828    p "not SIZE"
    2929    0
    3030  else
    3131    # compare li1 and li2 for equality
    32     if li1 != li2 then
     32    if li1 != li2
    3333      return(0)
    3434    else
Note: See TracChangeset for help on using the changeset viewer.