[#104004] [Ruby master Feature#17883] Load bundler/setup earlier to make `bundle exec ruby -r` respect Gemfile — mame@...
Issue #17883 has been reported by mame (Yusuke Endoh).
21 messages
2021/05/24
[ruby-core:103766] [Ruby master Feature#17831] add slice method to Fiddle::MemoryView
From:
kou@...
Date:
2021-05-06 21:11:22 UTC
List:
ruby-core #103766
Issue #17831 has been updated by kou (Kouhei Sutou). Status changed from Open to Third Party's Issue Could you file this to https://github.com/ruby/fiddle/ ? ---------------------------------------- Feature #17831: add slice method to Fiddle::MemoryView https://bugs.ruby-lang.org/issues/17831#change-91877 * Author: dsisnero (Dominic Sisneros) * Status: Third Party's Issue * Priority: Normal ---------------------------------------- ``` ruby # Fiddle::MemoryView#slice(start, length) # Fiddle::MemoryView#slice(range) mv = Fiddle::MemoryView.new(memory_object) while mv puts mv[0] mv = mv.slice(1..-1) # returns a new MemoryView object with the same MemoryView#obj # that is no copying end ``` related to #17832 related to #17851 related to #17833 -- https://bugs.ruby-lang.org/ Unsubscribe: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe> <http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>