add RootNode
Slice: avoid expensive index check, should be slow path
add src_gen folder to .gitignore
use compiler directives for unsafe access and provide location identity
code style cleanup