[neo-project/neo] refactoring (#288)

Would like to see a performance comparison between #288 & #356 prior to any merges if possible.