Closed korydraughn closed 1 year ago
The following stat can be avoided if the object ID (i.e. inode number) is retrieved from the list entry that's already available to the loop. https://github.com/irods/irods_client_nfsrods/blob/aab87f6d29f36226a1c3e4e345b8884170ccfba5/irods-vfs-impl/src/main/java/org/irods/nfsrods/vfs/IRODSVirtualFileSystem.java#L1020-L1028
Here's the list entry. https://github.com/irods/irods_client_nfsrods/blob/aab87f6d29f36226a1c3e4e345b8884170ccfba5/irods-vfs-impl/src/main/java/org/irods/nfsrods/vfs/IRODSVirtualFileSystem.java#L1015
Optimization
The following stat can be avoided if the object ID (i.e. inode number) is retrieved from the list entry that's already available to the loop. https://github.com/irods/irods_client_nfsrods/blob/aab87f6d29f36226a1c3e4e345b8884170ccfba5/irods-vfs-impl/src/main/java/org/irods/nfsrods/vfs/IRODSVirtualFileSystem.java#L1020-L1028
Here's the list entry. https://github.com/irods/irods_client_nfsrods/blob/aab87f6d29f36226a1c3e4e345b8884170ccfba5/irods-vfs-impl/src/main/java/org/irods/nfsrods/vfs/IRODSVirtualFileSystem.java#L1015