Skip to content

v1.1.0

Choose a tag to compare

@abaxoth0 abaxoth0 released this 23 May 11:04
· 31 commits to master since this release

Schema now has default roles.

Added LoadSchema() which will load Schema from the specified configuration file.

Validation and normalization fixes;

Validation is now performed via functions, instead of structs methods as it was before.

File loading rework;

All functions and methods was optimized to create as little garbage as possible, by working with copies of a structs, not pointers to them. This will reduce pressure on GC. Due this some functions and methods now may work slowly, for example loading and normalization, but it's not a big problem, cuz they are supposed to be called only once, mostly used functions and methods still use pointers receivers, so overall performance is supposed to be better.