From: tad.a.digger@... Date: 2014-07-23T06:32:23+00:00 Subject: [ruby-core:63952] [ruby-trunk - Feature #10082] [PATCH] add ZALLOC* macros to reduce ALLOC + MEMZERO calls Issue #10082 has been updated by Tadashi Saito. The basic policy of patch feels great, but why don't you name CALLOC? I feel CALLOC is more straitforward because calloc(3) is in the standard and ZALLOC(_N) already uses calloc(). ---------------------------------------- Feature #10082: [PATCH] add ZALLOC* macros to reduce ALLOC + MEMZERO calls https://bugs.ruby-lang.org/issues/10082#change-47974 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: Koichi Sasada * Category: core * Target version: current: 2.2.0 ---------------------------------------- This reduces code and binary sizes. ZALLOC macros are accessible via public API for exts OK to add this API? It should simplify some code and reduce typos. ---Files-------------------------------- zalloc.patch (7.4 KB) -- https://bugs.ruby-lang.org/