17.07.2011, 12:46
Nice but... No directories? ;(
Is this plugin faster then JaTochNietDan's File Manager? Has any speed tests been run?
|
Sorry for double post but can someone compile this for Linux please?
|
print("---------------- FF-WRITE ------------------"); Old[1] = GetTickCount(); new File:file2 = fileOpen("ffread.txt",io_Write); for(new i; i < 100000;i++){ fileWrite(file2, "TEST\r\n"); } fileClose(file2); New[1] = GetTickCount(); printf("FF-WRITE %d",New[1]-Old[1]); print("---------------- FF-READ ------------------"); Old[1] = GetTickCount(); file2 = fileOpen("ffread.txt",io_Read); while(fileRead(file2,str)){ } fileClose(file2); New[1] = GetTickCount(); printf("FF-READ %d",New[1]-Old[1]);
print("---------------- FF-WRITE ------------------"); Old[1] = GetTickCount(); new File:file2 = fileOpen("scriptfiles/ffread.txt",io_Write); for(new i; i < 100000;i++){ fileWrite(file2, "TEST\r\n"); } fileClose(file2); New[1] = GetTickCount(); printf("FF-WRITE %d",New[1]-Old[1]); print("---------------- FF-READ ------------------"); Old[1] = GetTickCount(); file2 = fileOpen("scriptfiles/ffread.txt",io_Read); while(fileRead(file2,str)){ } fileClose(file2); New[1] = GetTickCount(); printf("FF-READ %d",New[1]-Old[1]); |