Nov 10, 2014, 8:41 AM
Post #28 of 30
Re: [Laurent_R] perl: restrict perl from automaticaly creating a hash branches on check
[In reply to]
If the final interesting piece of data is always at the same level of nestedness, ... to have an auxilliary hash ...lower levels will autovivify, but you don't care, ... The 'same level of nestedness' is not exactly true.
Better to say: existence concidered by reaching the hash highest level.
Actually, the keys are the data for most processing.
And, after all, all that true for my hashes that you are considered for that auxiliary hash.
(The idea to just disregard an empty branches and by that forget about autovivification at all already in my mind for couple days. Just did not have time yet to have code correction and test it...
But, what is bothering me is knowlage that something unnessesary is created, taking space and ... without my attention...
Whell, if all correction to just ignor empty branches (with disciplin to do not create any empty one in processing flow) would not destroy correctness, I guess, I will accept that autivivification addition as given and unavoidable trash (collaborated damage, if suitable :) )
Anyway, thanks for considering some effort on my task and for the suggestions!