Kouhei Sutou
null+****@clear*****
Tue Aug 16 15:59:54 JST 2016
Kouhei Sutou 2016-08-16 15:59:54 +0900 (Tue, 16 Aug 2016) New Revision: 816aba75c9cd02c037865e5b51ca6c77dfca3df3 https://github.com/groonga/groonga-schema/commit/816aba75c9cd02c037865e5b51ca6c77dfca3df3 Message: Reduce memory usage for large load command Modified files: lib/groonga-schema/command-line/groonga-schema-diff.rb Modified: lib/groonga-schema/command-line/groonga-schema-diff.rb (+3 -0) =================================================================== --- lib/groonga-schema/command-line/groonga-schema-diff.rb 2016-08-16 12:05:45 +0900 (d9d95e5) +++ lib/groonga-schema/command-line/groonga-schema-diff.rb 2016-08-16 15:59:54 +0900 (03854e6) @@ -82,6 +82,9 @@ module GroongaSchema parser.on_command do |command| schema.apply_command(command) end + parser.on_load_value do |command,| + command.original_source.clear + end resource.each_line do |line| parser << line end -------------- next part -------------- HTML����������������������������...Download