summaryrefslogtreecommitdiff
path: root/benchmark/array_sample_100k_10.rb
blob: 5f41ecc32b1fc93c94d39ba9f5d563cf45836802 (plain)
1
2
arr = [*0...100000]
10_000.times {arr.sample 10}
a53aaf12d32516033a3c'>[ruby/prism] Change numbered parametersKevin Newton 2023-11-29[ruby/prism] Convert start line to signed integersJean Boussier 2023-11-29[ruby/prism] Rename varint as varuintJean Boussier 2023-11-28[ruby/prism] Move DATA parsing into its own parse result fieldKevin Newton 2023-11-20[ruby/prism] Remove non-ASCII source charactersKevin Newton 2023-11-18[ruby/prism] Revert "Ensure serialized file is little endian"Kevin Newton 2023-11-17[ruby/prism] Ensure serialized file is little endianKevin Newton 2023-11-03[ruby/prism] Fix up lintKevin Newton 2023-11-03[ruby/prism] Rename serialization APIs for consistencyKevin Newton 2023-11-03[ruby/prism] Wire up options through the FFI APIKevin Newton 2023-11-03[ruby/prism] Create an options struct for passing all of the possible optionsKevin Newton 2023-11-01[ruby/prism] Fix up lintKevin Newton 2023-11-01[ruby/prism] Even more C file documentationKevin Newton 2023-11-01[ruby/prism] Documentation for nodesKevin Newton 2023-11-01[ruby/prism] Remove unnecessary PM_EMPTY_NODE_LISTKevin Newton 2023-11-01[ruby/prism] Documentation for defines, version, and prettyprintKevin Newton 2023-10-27[ruby/prism] Prism.parse_inline_commentsKevin Newton 2023-10-27[ruby/prism] Use printf attribute and then fix warningsKevin Newton 2023-10-26[ruby/prism] Regenerate snapshotsKevin Newton 2023-10-26[ruby/prism] Match existing Ruby prettyprintKevin Newton 2023-10-26[ruby/prism] Get general prettyprint structure workingKevin Newton 2023-10-26[ruby/prism] Compile with WASIKevin Newton 2023-10-23[ruby/prism] Exclude comments when only serializing semantic fieldsBenoit Daloze 2023-10-18[ruby/prism] Extract out constant pool bucket bits to constantsKevin Newton 2023-10-18[ruby/prism] Provide "constant" constants, embedded in the codeKevin Newton 2023-10-16[ruby/prism] Attach magic comments to the parse resultKevin Newton 2023-10-13[ruby/prism] Move common flags to top bitseileencodes 2023-09-27[ruby/prism] rearrange the constant pool so IDs can be used for indexingNathan Froyd 2023-09-27Sync to prism rename commitsKevin Newton 2023-09-27Rename YARP filepaths to prism filepathsKevin Newton