parent
881a06fc5d
commit
96edfa4514
@ -1,18 +0,0 @@
|
|||||||
diff --git a/lib/concurrent/map.rb b/lib/concurrent/map.rb
|
|
||||||
index f3aa55d5..34696efc 100644
|
|
||||||
--- a/lib/concurrent/map.rb
|
|
||||||
+++ b/lib/concurrent/map.rb
|
|
||||||
@@ -210,12 +210,8 @@ module Concurrent
|
|
||||||
undef :freeze
|
|
||||||
|
|
||||||
# @!visibility private
|
|
||||||
- DEFAULT_OBJ_ID_STR_WIDTH = 0.size == 4 ? 7 : 14 # we want to look "native", 7 for 32-bit, 14 for 64-bit
|
|
||||||
- # override default #inspect() method: firstly, we don't want to be spilling our guts (i-vars), secondly, MRI backend's
|
|
||||||
- # #inspect() call on its @backend i-var will bump @backend's iter level while possibly yielding GVL
|
|
||||||
def inspect
|
|
||||||
- id_str = (object_id << 1).to_s(16).rjust(DEFAULT_OBJ_ID_STR_WIDTH, '0')
|
|
||||||
- "#<#{self.class.name}:0x#{id_str} entries=#{size} default_proc=#{@default_proc.inspect}>"
|
|
||||||
+ format '%s entries=%d default_proc=%s>', to_s[0..-2], size.to_s, @default_proc.inspect
|
|
||||||
end
|
|
||||||
|
|
||||||
private
|
|
@ -1,2 +1,2 @@
|
|||||||
SHA512 (concurrent-ruby-1.0.5-specs.tar.gz) = f13da35b9b6cce1182d822723811b27aa661c3dfd231e2d3ace09451ee01f737d343d1d18f5debc296b1534ef0b6a919e679a8ef693a7d75b557e65d19432ef0
|
SHA512 (concurrent-ruby-1.1.5-specs.tar.gz) = 74f1de9259c30dfdfba54be065fd090bc47df6543af811fc76cf8022408435cbbfa64eb92d4acc3c46cd1b5a2ed5497d0c852779174a2ec0503617f227ce8b17
|
||||||
SHA512 (concurrent-ruby-1.0.5.gem) = 523df60096e77a377405b71f9133f28284ca73284bb52456bf1e1a38dbb34c593b3aa2ed9ceb019afbed4805ba2bc3d7c846d3a66139924ec7fa0ccb3fcf9324
|
SHA512 (concurrent-ruby-1.1.5.gem) = 357fa6bbf65ff4143adba9de6713d28eacb03170b3b4218f53d80433de13ba50b1c3741a62ec355a3aa01388bcbd059e1bca3dd82c88cf56b8b3110c24b37613
|
||||||
|
Loading…
Reference in new issue