[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] cleanup _asn1_copy_structure3
From: |
Nikos Mavrogiannopoulos |
Subject: |
Re: [PATCH] cleanup _asn1_copy_structure3 |
Date: |
Mon, 03 Sep 2012 22:34:46 +0200 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:10.0.6esrpre) Gecko/20120805 Icedove/10.0.6 |
On 08/31/2012 04:23 PM, Tim Ruehsen wrote:
> Hi,
>
> a patch to simplify/cleanup _asn1_copy_structure3().
I noticed that you moved the check
+ if (p_s == source_node)
+ break;
within the if (move != UP). Couldn't this occur otherwise?
By seeing the _asn1_copy_structure2() and its usage from
asn1_create_element(), it seems there can be quite some optimizations by
adding a new asn1_create_element2() and a new asn1_array2tree2().
The newc array2tree should create a special tree that is easy to copy.
It doesn't look like much work, but I cannot afford it now at least.
regards,
Nikos
- [PATCH] cleanup _asn1_copy_structure3, Tim Ruehsen, 2012/09/01
- Re: [PATCH] cleanup _asn1_copy_structure3,
Nikos Mavrogiannopoulos <=
- Re: [PATCH] cleanup _asn1_copy_structure3, Tim Ruehsen, 2012/09/04
- Re: [PATCH] cleanup _asn1_copy_structure3, Nikos Mavrogiannopoulos, 2012/09/05
- Re: [PATCH] cleanup _asn1_copy_structure3, Tim Ruehsen, 2012/09/04
- Re: [PATCH] cleanup _asn1_copy_structure3, Simon Josefsson, 2012/09/05
- Re: [PATCH] cleanup _asn1_copy_structure3, Tim Ruehsen, 2012/09/05
- Re: [PATCH] cleanup _asn1_copy_structure3, Simon Josefsson, 2012/09/06
- Re: [PATCH] cleanup _asn1_copy_structure3, Nikos Mavrogiannopoulos, 2012/09/05
- Re: [PATCH] cleanup _asn1_copy_structure3, Nikos Mavrogiannopoulos, 2012/09/08
- Re: [PATCH] cleanup _asn1_copy_structure3, Nikos Mavrogiannopoulos, 2012/09/09
- Re: [PATCH] cleanup _asn1_copy_structure3, Simon Josefsson, 2012/09/10