Оптимизирована схема БД
This commit is contained in:
		
							parent
							
								
									541d09b8f4
								
							
						
					
					
						commit
						d62524e185
					
				
					 5 changed files with 61 additions and 115 deletions
				
			
		| 
						 | 
				
			
			@ -7,6 +7,6 @@ import std.file : read;
 | 
			
		|||
void main()
 | 
			
		||||
{
 | 
			
		||||
	auto cas = new CAS("/tmp/base.db", true);
 | 
			
		||||
	// cas.saveSnapshot("/tmp/text", cast(ubyte[]) read("/tmp/text"));
 | 
			
		||||
	cas.restoreSnapshot();
 | 
			
		||||
	cas.saveSnapshot("/tmp/text", cast(ubyte[]) read("/tmp/text"));
 | 
			
		||||
	// cas.restoreSnapshot();
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue