mirror of
				https://github.com/ruby/ruby.git
				synced 2022-11-09 12:17:21 -05:00 
			
		
		
		
	 09007ccbaa
			
		
	
	
		09007ccbaa
		
	
	
	
	
		
			
			(Init_BareVM): per-VM object space support, which is disabled now. * gc.c (rb_objspace_alloc), vm.c (Init_BareVM): should not use ruby malloc here. * gc.c (garbage_collect, etc): performance improvement by passing the reference instead of refering the global variable in each functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
		
			
				
	
	
		
			7 lines
		
	
	
	
		
			88 B
		
	
	
	
		
			Ruby
		
	
	
		
			Executable file
		
	
	
	
	
			
		
		
	
	
			7 lines
		
	
	
	
		
			88 B
		
	
	
	
		
			Ruby
		
	
	
		
			Executable file
		
	
	
	
	
| #! /usr/bin/ruby
 | |
| 5000.times do
 | |
|   100.times do
 | |
|     {"xxxx"=>"yyyy"}
 | |
|   end
 | |
|   GC.start
 | |
| end
 |