From: Francesc A. <fa...@ca...> - 2005-10-17 14:35:54
|
A Dissabte 15 Octubre 2005 15:25, Norbert Nemec va escriure: > What is wrong about checking whether a node is bound and say > "manipulations to unbound nodes not yet implemented" if people to > anything to them before they are assigned to a on-disk group? Indeed, it's a possibility. > Even if unbound nodes are still a far way off, there is nothing wrong > about following the design idea now. I think the idea of unbound nodes > is something very clear to understand for the user, even if - for the > time being - these nodes are seriously limited until they are actually > written to disk. > > Of course, checking whether a node is bound costs a tiny bit of > performance, but that certainly can be minimized. One can always use an "assert" instructuction, and if maximum speed is needed, pass the -O option to python. What other people think? Implementing this would improve readability of the code? My opinion is starting to change and I think it does. Cheers, =2D-=20 >0,0< Francesc Altet =C2=A0 =C2=A0 http://www.carabos.com/ V V C=C3=A1rabos Coop. V. =C2=A0=C2=A0Enjoy Data "-" |