mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-02 06:06:10 -04:00
made FileEntry derive from SmallObject class, to improve memory cache efficiency (50% time gained)
git-svn-id: http://svn.code.sf.net/p/retroshare/code/trunk@4122 b45a01b8-16f6-495d-af2f-9b41ad6348cc
This commit is contained in:
parent
6c2bdbe214
commit
b9af3bab92
2 changed files with 5 additions and 1 deletions
|
@ -74,9 +74,11 @@ class ostream;
|
|||
* FileEntry
|
||||
*****************************************************************************************/
|
||||
|
||||
#include <util/smallobject.h>
|
||||
|
||||
class DirEntry;
|
||||
|
||||
class FileEntry
|
||||
class FileEntry: public RsMemoryManagement::SmallObject
|
||||
{
|
||||
public:
|
||||
FileEntry()
|
||||
|
|
|
@ -23,6 +23,8 @@
|
|||
*
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <stdlib.h>
|
||||
#include <assert.h>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue