I really dont know why an ini file will be 1000gb or more, although it can parse it very fast so enjoy it.
How to use ini.rip:
- make sure your file is ascii only
- download INIRIP folder and put it into your sln folder
- link INIRIP class library to your project
- extract your .ini file into
string
variable in your script - import
using INIRIP;
into your script - use
Coder.TryDecode(yourstring, out Dictionary<ReadOnlyMemory<char>, Dictionary<ReadOnlyMemory<char>, ReadOnlyMemory<char>>> youroutvalues)
- then you get your deserialized .ini
- the structure looks like this:
- sections
- keys and values
- keys and values
- sections
- keys and values
- keys and values
- sections
- to save your values in ini you need to build your
Dictionary<ReadOnlyMemory<char>, Dictionary<ReadOnlyMemory<char>, ReadOnlyMemory<char>>>
or use your edited output from decoding - put your full path to file and your dictionary in
Coder.TryEncode("C:\Users\Desktop\MyFile.ini", MyValues)
- pray it all to work
Average Time | Median Time | Min Time | Max Time |
---|---|---|---|
44.0 µs | 44.0 µs | 26.7 µs | 66.9 µs |
Average Symbols/sec | Average MB/sec |
---|---|
250.83 million | 478.4 MB/s |
Featuring: Water