improved speed when using package level get and set, added examples that compare performance