Re: NSFileWrapper serializedRepresentation bloat?

2011-01-10 Thread Matt Gough
Not sure its related, but I have noticed that using Finder nowadays to create an alias of a plain folder results in a 1MB alias file. Seems its also stashing away a copy of the plain folder icon. (Actually it is stashing two copies, one in the resource fork for compatibility and one in the data

Re: NSFileWrapper serializedRepresentation bloat?

2011-01-09 Thread mlist0...@gmail.com
Problem ID: 8840391 _murat On Jan 8, 2011, at 7:55 PM, Ken Ferry wrote: > Hi, > > That's what I see too. From inspecting the serialized rep, it looks like > it's icon data. > > Since at least in my test case the folders did not have custom icons, it > seems like one could do better. Could

Re: NSFileWrapper serializedRepresentation bloat?

2011-01-08 Thread Ken Ferry
Hi, That's what I see too. From inspecting the serialized rep, it looks like it's icon data. Since at least in my test case the folders did not have custom icons, it seems like one could do better. Could you file a bug please? -Ken Cocoa Frameworks On Sat, Jan 8, 2011 at 5:16 PM, mlist0...@gm

NSFileWrapper serializedRepresentation bloat?

2011-01-08 Thread mlist0...@gmail.com
I create an NSFileWrapper for a directory hierarchy like this (all items are directories, no files): test-dir/ test-dir/inner-dir-a test-dir/inner-dir-b test-dir/inner-dir-c The wrapper's serialized representation weighs in at around an astounding 1mB (1,022,234 bytes)! Seems that the overhead