]> gitweb.factorcode.org Git - factor.git/commitdiff
vm: change code heap alignment to 16 bytes instead of 32 to reduce image size
authorSlava Pestov <slava@factorcode.org>
Mon, 19 Oct 2009 11:10:39 +0000 (06:10 -0500)
committerSlava Pestov <slava@factorcode.org>
Mon, 19 Oct 2009 11:10:39 +0000 (06:10 -0500)
vm/heap.hpp

index ef09c2b23822b55dea0b5d63490e08d444677271..757364b3f62d60019be3dc566f984db1d7c30f43 100644 (file)
@@ -1,8 +1,8 @@
 namespace factor
 {
 
-static const cell free_list_count = 16;
-static const cell block_size_increment = 32;
+static const cell free_list_count = 32;
+static const cell block_size_increment = 16;
 
 struct heap_free_list {
        free_heap_block *small_blocks[free_list_count];