Branch: Tag:

2017-06-17

2017-06-17 21:03:24 by Martin Nilsson <nilsson@fastmail.com>

Use fast_clone_object instead of low_clone+call_c_initializers

3873:    f->flags |= (THIS->flags & FILE_HAVE_RECV_FD);    } else {    /* Clone a plain Fd object. */ -  o = low_clone(file_program); +  o = fast_clone_object(file_program);    f = (struct my_file *) o->storage + file_program->inherits->storage_offset; -  call_c_initializers(o); +     }    change_fd_for_box(&f->box, fd);    if (fd >= 0) {