X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftal%2F_info;h=3f7c22c717d93b0e69182c2a55de8db27ff85e82;hp=2417de1c20af90df8bdff9ad114ccaefa789d6f4;hb=737dcc0fe959d67eb29f57df37b0d7f188e0213d;hpb=0e34459a02e2615f50bac2767c7dce6632470946;ds=sidebyside diff --git a/ccan/tal/_info b/ccan/tal/_info index 2417de1c..3f7c22c7 100644 --- a/ccan/tal/_info +++ b/ccan/tal/_info @@ -18,10 +18,10 @@ * tal_free(X->name) would free X->name as expected, by tal_free(X) would * free X and X->name. * - * With an overhead of approximately 2.1 pointers per object (vs. talloc's - * 12 pointers), it's a little slower in freeing single objects, though - * comparable for allocation and freeing whole object trees). It does not - * support talloc's references or failing destructors. + * With an overhead of approximately 4 pointers per object + * (vs. talloc's 12 pointers), it uses dynamic allocation for + * destructors and child lists, so those operations can fail. It does + * not support talloc's references or failing destructors. * * Example: * #include @@ -92,9 +92,10 @@ int main(int argc, char *argv[]) if (strcmp(argv[1], "depends") == 0) { printf("ccan/compiler\n"); - printf("ccan/hash\n"); printf("ccan/likely\n"); printf("ccan/list\n"); + printf("ccan/str\n"); + printf("ccan/take\n"); printf("ccan/typesafe_cb\n"); return 0; }