1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-06-02 22:38:02 +02:00
gnupg/tests/gpgscm
Justus Winter 64a58e23c3 gpgscm: Mark cells requiring finalization.
* tests/gpgscm/scheme.c (T_FINALIZE): New macro.
(mk_port): Use the new macro.
(mk_foreign_object): Likewise.
(mk_counted_string): Likewise.
(mk_empty_string): Likewise.
(gc): Only call 'finalize_cell' for cells with the new flag.
--

This speeds up the sweep phase of the garbage collector considerably
because most cells do not require finalization.

Signed-off-by: Justus Winter <justus@g10code.com>
2016-11-15 11:10:56 +01:00
..
ffi-private.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ffi.c gpgscm: Expose seek and associated constants. 2016-11-08 16:02:55 +01:00
ffi.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
ffi.scm gpgscm: Implement 'atexit'. 2016-11-04 12:42:00 +01:00
init.scm tests: Refine exception handling. 2016-09-19 18:49:17 +02:00
lib.scm gpgscm: Expose seek and associated constants. 2016-11-08 16:02:55 +01:00
LICENSE.TinySCHEME Add license notices for TinySCHEME. 2016-06-17 18:53:45 +02:00
main.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
Makefile.am Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
Manual.txt Fix more spelling 2016-09-17 16:00:37 +09:00
opdefines.h tests/gpgscm: Verbatim import of latest TinySCHEME. 2016-06-17 11:36:27 +02:00
private.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
repl.scm tests: Refine the repl function. 2016-09-19 18:49:17 +02:00
scheme-config.h Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
scheme-private.h gpgscm: Avoid cell allocation overhead. 2016-11-14 16:11:15 +01:00
scheme.c gpgscm: Mark cells requiring finalization. 2016-11-15 11:10:56 +01:00
scheme.h gpgscm: Reduce opcode dispatch overhead. 2016-11-10 14:57:07 +01:00
t-child.c Change all http://www.gnu.org in license notices to https:// 2016-11-05 12:02:19 +01:00
t-child.scm gpgscm: Improve test of low-level functions. 2016-10-07 16:25:55 +02:00
tests.scm tests: Move environment creation and teardown into each test. 2016-11-07 16:36:36 +01:00