Hi Julia On 07/02/2012 10:42 PM, Julia Medvedeva wrote: > next. But reading two sectors will require of copy of memory. In BSD > reading of directories was written without copy of memory but it > looks really complicate and I am not very well understood all details > of implementation. And, if be honest, I am not sure that I could do > same in short time, I think testing will not be simple. Can I > disregard to saving of memory for more readable implementation? My > implementation could be close to function udf_read_fid_in_data.
Maybe it would help if you elaborated on the actual problem area here so that you can get more people involved. I can imagine that the *BSD VFS and HelenOS VFS are two completely different animals so that what is easy to achieve in one may not be that easy in the other. In general, I don't think that your (or anyone's) goal should be to write extremely complicated optimal code, especially if there will later be no one who understands it fully. I'd clearly prefer readable and maintainable code over too complicated. My advice would therefore be to choose a more straightforward way of doing things. You can always improve the code later on. Jakub _______________________________________________ HelenOS-devel mailing list [email protected] http://lists.modry.cz/cgi-bin/listinfo/helenos-devel
